Fix 2006-04-28-Sign-extend-bool.ll for ia64.
authorChris Lattner <sabre@nondot.org>
Wed, 28 May 2008 04:00:06 +0000 (04:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 May 2008 04:00:06 +0000 (04:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51632 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/IA64/IA64ISelLowering.cpp

index 262a85e3e063e699ac85878e5799123ca72940f0..bcce7e672e1a977d93d304e5f929f01341e79fcb 100644 (file)
@@ -80,6 +80,8 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
   setOperationAction(ISD::FSQRT, MVT::f32, Expand);
   setOperationAction(ISD::FPOW , MVT::f32, Expand);
 
+  setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1   , Expand);
+    
   // FIXME: IA64 supports fcopysign natively!
   setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
   setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);