[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 7 12:42:00 PDT 2005



Changes in directory llvm/lib/Target/X86:

X86ISelPattern.cpp updated: 1.100 -> 1.101
---
Log message:

X86 zero extends setcc results


---
Diffs of the changes:  (+1 -0)

 X86ISelPattern.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.100 llvm/lib/Target/X86/X86ISelPattern.cpp:1.101
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.100	Tue Apr  5 23:21:07 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp	Thu Apr  7 14:41:46 2005
@@ -43,6 +43,7 @@
       // X86 is wierd, it always uses i8 for shift amounts and setcc results.
       setShiftAmountType(MVT::i8);
       setSetCCResultType(MVT::i8);
+      setSetCCResultContents(ZeroOrOneSetCCResult);
       setShiftAmountFlavor(Mask);   // shl X, 32 == shl X, 0
 
       // Set up the register classes.






More information about the llvm-commits mailing list