[llvm-commits] [llvm] r76310 - /llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp

Anton Korobeynikov asl at math.spbu.ru
Sat Jul 18 05:20:43 PDT 2009


Author: asl
Date: Sat Jul 18 07:20:36 2009
New Revision: 76310

URL: http://llvm.org/viewvc/llvm-project?rev=76310&view=rev
Log:
Expand sext_inreg for i1

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp

Modified: llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp?rev=76310&r1=76309&r2=76310&view=diff

==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp Sat Jul 18 07:20:36 2009
@@ -104,6 +104,8 @@
   setOperationAction(ISD::SREM,             MVT::i64, Expand);
   setOperationAction(ISD::UREM,             MVT::i64, Expand);
 
+  setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand);
+
   // FIXME: Can we lower these 2 efficiently?
   setOperationAction(ISD::SETCC,            MVT::i32, Expand);
   setOperationAction(ISD::SETCC,            MVT::i64, Expand);





More information about the llvm-commits mailing list