]> granicus.if.org Git - clang/commit
[AArch64] Change int64_t from 'long long int' to 'long int' for AArch64 target.
authorKevin Qin <Kevin.Qin@arm.com>
Mon, 24 Feb 2014 02:45:03 +0000 (02:45 +0000)
committerKevin Qin <Kevin.Qin@arm.com>
Mon, 24 Feb 2014 02:45:03 +0000 (02:45 +0000)
commit491dd1c4d126187cfe3798b22f9109b7219fce7f
tree6386994be7293403a1862922df140825aee5729d
parentef725a70d30d805f109a55c376b78f6594862210
[AArch64] Change int64_t from 'long long int' to 'long int' for AArch64 target.

Most 64-bit targets define int64_t as long int, and AArch64 should
make same definition to follow LP64 model. In GNU tool chain, int64_t
is defined as long int for 64-bit target. So to get consistent with GNU,
it's better Changing int64_t from 'long long int' to 'long int',
otherwise clang will get different name mangling suffix compared with g++.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202004 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
lib/AST/ASTContext.cpp
lib/AST/ItaniumMangle.cpp
lib/Basic/Targets.cpp
lib/Sema/SemaChecking.cpp
test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp
test/CodeGenCXX/int64_uint64.cpp [new file with mode: 0644]
test/Preprocessor/init.c
utils/TableGen/NeonEmitter.cpp