[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Chris Lattner
sabre at nondot.org
Sat Mar 24 21:35:58 PDT 2007
Changes in directory llvm/lib/CodeGen/SelectionDAG:
TargetLowering.cpp updated: 1.101 -> 1.102
---
Log message:
implement initial support for the silly X constraint. Testcase here: CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll
---
Diffs of the changes: (+2 -0)
TargetLowering.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.101 llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.102
--- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.101 Sat Mar 24 21:18:14 2007
+++ llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp Sat Mar 24 23:35:41 2007
@@ -1841,6 +1841,7 @@
case 'i': // Simple Integer or Relocatable Constant
case 'n': // Simple Integer
case 's': // Relocatable Constant
+ case 'X': // Allow ANY value.
case 'I': // Target registers.
case 'J':
case 'K':
@@ -1870,6 +1871,7 @@
case 'i': // Simple Integer or Relocatable Constant
case 'n': // Simple Integer
case 's': // Relocatable Constant
+ case 'X': // Allows any operand.
// These are okay if the operand is either a global variable address or a
// simple immediate value. If we have one of these, map to the TargetXXX
// version so that the value itself doesn't get selected.
More information about the llvm-commits
mailing list