No vector fneg.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 29 Jun 2007 00:18:15 +0000 (00:18 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 29 Jun 2007 00:18:15 +0000 (00:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37786 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index f9c19bc0f041b7917c10e20c6b3e1d4390635de2..91b0f3fb6209becf266dead6c68e994b26b1aa30 100644 (file)
@@ -314,6 +314,7 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
     setOperationAction(ISD::ADD , (MVT::ValueType)VT, Expand);
     setOperationAction(ISD::SUB , (MVT::ValueType)VT, Expand);
     setOperationAction(ISD::FADD, (MVT::ValueType)VT, Expand);
+    setOperationAction(ISD::FNEG, (MVT::ValueType)VT, Expand);
     setOperationAction(ISD::FSUB, (MVT::ValueType)VT, Expand);
     setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
     setOperationAction(ISD::FMUL, (MVT::ValueType)VT, Expand);