diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-11-14 08:11:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-11-14 08:11:25 +0000 |
commit | 1ab489a42d013151b21655a4c011dc15d6d75eab (patch) | |
tree | 8902a73cd8fbc0f8d837274f584ca1ca90a37cbb /lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | 0e4a1679aabf8fc14c2ae06b3ac0e09c503ab154 (diff) |
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
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index adf78d5233..aa0c77b808 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); |