From: Craig Topper Date: Wed, 14 Nov 2012 08:11:25 +0000 (+0000) Subject: Set FFLOOR of vectors to expand to keep intruction selection from failing. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1ab489a42d013151b21655a4c011dc15d6d75eab;p=oota-llvm.git Set FFLOOR of vectors to expand to keep intruction selection from failing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167922 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index adf78d5233a..aa0c77b808a 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -347,6 +347,7 @@ PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM) setOperationAction(ISD::UREM, VT, Expand); setOperationAction(ISD::FDIV, VT, Expand); setOperationAction(ISD::FNEG, VT, Expand); + setOperationAction(ISD::FFLOOR, VT, Expand); setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT, Expand); setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Expand); setOperationAction(ISD::BUILD_VECTOR, VT, Expand);