From: Craig Topper Date: Thu, 15 Nov 2012 08:06:12 +0000 (+0000) Subject: Make FNEG and FABS of v4f32 Expand. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb7060584cf417fac7d9eed9e9f5f09bbcf90553;p=platform%2Fupstream%2Fllvm.git Make FNEG and FABS of v4f32 Expand. llvm-svn: 168029 --- diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 7b4d9fd..5bbc309 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -505,6 +505,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Expand); setOperationAction(ISD::FFLOOR, MVT::v2f64, Expand); + setOperationAction(ISD::FNEG, MVT::v4f32, Expand); + setOperationAction(ISD::FABS, MVT::v4f32, Expand); setOperationAction(ISD::FSQRT, MVT::v4f32, Expand); setOperationAction(ISD::FSIN, MVT::v4f32, Expand); setOperationAction(ISD::FCOS, MVT::v4f32, Expand);