summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-24 00:15:25 +0000
committerChris Lattner <sabre@nondot.org>2006-05-24 00:15:25 +0000
commit33165c246cafb7c4ceb822929653a93466db46e7 (patch)
tree8df3e02c8084fcee7a3f8738a6054ce770886f68 /llvm/lib/Target
parentde6909734d010994bcab340793adf68b0693986d (diff)
downloadbcm5719-llvm-33165c246cafb7c4ceb822929653a93466db46e7.tar.gz
bcm5719-llvm-33165c246cafb7c4ceb822929653a93466db46e7.zip
Fix CodeGen/Generic/vector.ll:test_div with altivec.
llvm-svn: 28445
Diffstat (limited to 'llvm/lib/Target')
-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 51927233f69..1e6c1e5c787 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -208,6 +208,7 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
setOperationAction(ISD::SREM, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::UDIV, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::UREM, (MVT::ValueType)VT, Expand);
+ setOperationAction(ISD::FDIV, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::EXTRACT_VECTOR_ELT, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::INSERT_VECTOR_ELT, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::BUILD_VECTOR, (MVT::ValueType)VT, Expand);
OpenPOWER on IntegriCloud