diff options
| author | Kevin Qin <Kevin.Qin@arm.com> | 2014-02-24 02:45:03 +0000 |
|---|---|---|
| committer | Kevin Qin <Kevin.Qin@arm.com> | 2014-02-24 02:45:03 +0000 |
| commit | 491dd1c4d126187cfe3798b22f9109b7219fce7f (patch) | |
| tree | 6386994be7293403a1862922df140825aee5729d /utils | |
| parent | ef725a70d30d805f109a55c376b78f6594862210 (diff) | |
| download | clang-491dd1c4d126187cfe3798b22f9109b7219fce7f.tar.gz clang-491dd1c4d126187cfe3798b22f9109b7219fce7f.tar.bz2 clang-491dd1c4d126187cfe3798b22f9109b7219fce7f.tar.xz | |
[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
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/TableGen/NeonEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index c17f7a5b51..932af9a8e8 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -780,7 +780,7 @@ static std::string BuiltinTypeString(const char mod, StringRef typestr, s.push_back('S'); // make chars explicitly signed if (type == 'l') // 64-bit long - s += "LLi"; + s += "Wi"; else if (type == 'k') // 128-bit long s = "LLLi"; else @@ -809,7 +809,7 @@ static std::string BuiltinTypeString(const char mod, StringRef typestr, if (ck != ClassB && type == 'i') return quad ? "V4i" : "V2i"; if (ck != ClassB && type == 'l') - return quad ? "V2LLi" : "V1LLi"; + return quad ? "V2Wi" : "V1Wi"; return quad ? "V16Sc" : "V8Sc"; } @@ -831,7 +831,7 @@ static std::string BuiltinTypeString(const char mod, StringRef typestr, if (ck != ClassB && type == 'i') return quad ? "V4i" : "V2i"; if (ck != ClassB && type == 'l') - return quad ? "V2LLi" : "V1LLi"; + return quad ? "V2Wi" : "V1Wi"; return quad ? "V16Sc" : "V8Sc"; } |
