[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Apr 8 22:32:06 PDT 2007
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.384 -> 1.385
---
Log message:
implement support for CodeGen/X86/inline-asm-x-scalar.ll:test3 - i32/i64 values
used with x constraints.
---
Diffs of the changes: (+2 -2)
X86ISelLowering.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.384 llvm/lib/Target/X86/X86ISelLowering.cpp:1.385
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.384 Mon Apr 9 00:11:28 2007
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Mon Apr 9 00:31:48 2007
@@ -4715,9 +4715,9 @@
switch (Constraint[0]) {
default: break;
case 'x':
- if (VT == MVT::f32)
+ if (VT == MVT::f32 || VT == MVT::i32)
return std::make_pair(0U, X86::FR32RegisterClass);
- if (VT == MVT::f64)
+ if (VT == MVT::f64 || VT == MVT::i64)
return std::make_pair(0U, X86::FR64RegisterClass);
break;
}
More information about the llvm-commits
mailing list