From bb7060584cf417fac7d9eed9e9f5f09bbcf90553 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 15 Nov 2012 08:06:12 +0000 Subject: [PATCH] Make FNEG and FABS of v4f32 Expand. llvm-svn: 168029 --- llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 7b4d9fdaf951..5bbc3094345c 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);