From: Chris Lattner Date: Wed, 28 May 2008 04:00:06 +0000 (+0000) Subject: Fix 2006-04-28-Sign-extend-bool.ll for ia64. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9b07d3d3784d12abd266c93504ddbb495c5f6c41;p=oota-llvm.git Fix 2006-04-28-Sign-extend-bool.ll for ia64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51632 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp index 262a85e3e06..bcce7e672e1 100644 --- a/lib/Target/IA64/IA64ISelLowering.cpp +++ b/lib/Target/IA64/IA64ISelLowering.cpp @@ -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);