[cfe-commits] r113246 - /cfe/trunk/lib/Basic/TargetInfo.cpp
Dale Johannesen
dalej at apple.com
Tue Sep 7 11:40:41 PDT 2010
Author: johannes
Date: Tue Sep 7 13:40:41 2010
New Revision: 113246
URL: http://llvm.org/viewvc/llvm-project?rev=113246&view=rev
Log:
Allow 'o' and 'V' as constraints for output asm operands.
Allow '<' and '>' as constraints for input or output.
Modified:
cfe/trunk/lib/Basic/TargetInfo.cpp
Modified: cfe/trunk/lib/Basic/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/TargetInfo.cpp?rev=113246&r1=113245&r2=113246&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/TargetInfo.cpp (original)
+++ cfe/trunk/lib/Basic/TargetInfo.cpp Tue Sep 7 13:40:41 2010
@@ -283,6 +283,10 @@
Info.setAllowsRegister();
break;
case 'm': // memory operand.
+ case 'o': // offsetable memory operand.
+ case 'V': // non-offsetable memory operand.
+ case '<': // autodecrement memory operand.
+ case '>': // autoincrement memory operand.
Info.setAllowsMemory();
break;
case 'g': // general register, memory operand or immediate integer.
@@ -297,7 +301,7 @@
Name++;
break;
case '?': // Disparage slightly code.
- case '!': // Disparage severly.
+ case '!': // Disparage severely.
break; // Pass them.
}
@@ -384,8 +388,10 @@
Info.setAllowsRegister();
break;
case 'm': // memory operand.
- case 'o': // offsettable memory operand
- case 'V': // non-offsettable memory operand
+ case 'o': // offsettable memory operand.
+ case 'V': // non-offsettable memory operand.
+ case '<': // autodecrement memory operand.
+ case '>': // autoincrement memory operand.
Info.setAllowsMemory();
break;
case 'g': // general register, memory operand or immediate integer.
More information about the cfe-commits
mailing list