[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 28 14:56:24 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.168 -> 1.169
---
Log message:
Fix CodeGen/Generic/2006-04-28-Sign-extend-bool.ll
---
Diffs of the changes: (+4 -0)
PPCISelLowering.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.168 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.169
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.168 Sat Apr 22 13:53:45 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Fri Apr 28 16:56:10 2006
@@ -112,6 +112,10 @@
// PowerPC does not have truncstore for i1.
setOperationAction(ISD::TRUNCSTORE, MVT::i1, Promote);
+ // We cannot sextinreg(i1). Expand to shifts.
+ setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand);
+
+
// Support label based line numbers.
setOperationAction(ISD::LOCATION, MVT::Other, Expand);
setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);
More information about the llvm-commits
mailing list