summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-11-14 08:11:25 +0000
committerCraig Topper <craig.topper@gmail.com>2012-11-14 08:11:25 +0000
commitc4343f2c45b4b781db7d7f228c9c3929a09d55da (patch)
tree1cbd479456ef8f3d8448f1cbdd078007d1adff97 /llvm/lib
parent61b9e57c1e6f3cc20cfcdfbcd71bd1b826a23fd2 (diff)
downloadbcm5719-llvm-c4343f2c45b4b781db7d7f228c9c3929a09d55da.tar.gz
bcm5719-llvm-c4343f2c45b4b781db7d7f228c9c3929a09d55da.zip
Set FFLOOR of vectors to expand to keep intruction selection from failing.
llvm-svn: 167922
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index adf78d5233a..aa0c77b808a 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud