[cfe-commits] r71093 - /cfe/branches/Apple/Dib/lib/Basic/TargetInfo.cpp
Mike Stump
mrs at apple.com
Wed May 6 11:16:49 PDT 2009
Author: mrs
Date: Wed May 6 13:16:48 2009
New Revision: 71093
URL: http://llvm.org/viewvc/llvm-project?rev=71093&view=rev
Log:
Merge in 71064:
Fix rdar://6860124 - invalid input constraint 'J' in asm
This recognizes all the target-independent constant constraints
that have target-specific meanings.
Modified:
cfe/branches/Apple/Dib/lib/Basic/TargetInfo.cpp
Modified: cfe/branches/Apple/Dib/lib/Basic/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Basic/TargetInfo.cpp?rev=71093&r1=71092&r2=71093&view=diff
==============================================================================
--- cfe/branches/Apple/Dib/lib/Basic/TargetInfo.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Basic/TargetInfo.cpp Wed May 6 13:16:48 2009
@@ -264,9 +264,17 @@
// FIXME: Fail if % is used with the last operand.
break;
case 'i': // immediate integer.
- case 'I':
case 'n': // immediate integer with a known value.
break;
+ case 'I': // Various constant constraints with target-specific meanings.
+ case 'J':
+ case 'K':
+ case 'L':
+ case 'M':
+ case 'N':
+ case 'O':
+ case 'P':
+ break;
case 'r': // general register.
Info.setAllowsRegister();
break;
More information about the cfe-commits
mailing list