Fix CodeGen/Generic/vector.ll:test_div with altivec.
authorChris Lattner <sabre@nondot.org>
Wed, 24 May 2006 00:15:25 +0000 (00:15 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 May 2006 00:15:25 +0000 (00:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28445 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 51927233f691f3c451d1d75e2c5a3d4356a9e124..1e6c1e5c787531ac8cc48149c84662998e1fe320 100644 (file)
@@ -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);