diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-23 16:29:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-23 16:29:58 +0000 |
commit | 9bffb0701d02a10e77e1ac0f196074eed6466ed0 (patch) | |
tree | a9b3c3913b15036affbcaee8ee53e03bb9379dad /lib/Basic/Targets.cpp | |
parent | d57a38ee02c285d69d05fed6df0d7406b2517888 (diff) |
david conrad points out that {|} in inline assembly on arm are not asm
variants. This fixes neon inline asm which my patch for PR6780 broke.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 832c91cfb6..3d5048ccb9 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1396,6 +1396,10 @@ public: SizeType = UnsignedInt; PtrDiffType = SignedInt; + // {} in inline assembly are neon specifiers, not assembly variant + // specifiers. + NoAsmVariants = true; + // FIXME: Should we just treat this as a feature? IsThumb = getTriple().getArchName().startswith("thumb"); if (IsThumb) { |