Handle new intrinsics with vector arguments.
authorDale Johannesen <dalej@apple.com>
Wed, 10 Sep 2008 17:31:40 +0000 (17:31 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 10 Sep 2008 17:31:40 +0000 (17:31 +0000)
Patch by Paul Redmond.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56059 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 8ce28bf9ba14a42c1a775d905d90c870bdf06321..f30490a0bc53428670e25255ad32a6395de82678 100644 (file)
@@ -552,6 +552,11 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
     setOperationAction(ISD::ROTR, (MVT::SimpleValueType)VT, Expand);
     setOperationAction(ISD::BSWAP, (MVT::SimpleValueType)VT, Expand);
     setOperationAction(ISD::VSETCC, (MVT::SimpleValueType)VT, Expand);
+    setOperationAction(ISD::FLOG, (MVT::SimpleValueType)VT, Expand);
+    setOperationAction(ISD::FLOG2, (MVT::SimpleValueType)VT, Expand);
+    setOperationAction(ISD::FLOG10, (MVT::SimpleValueType)VT, Expand);
+    setOperationAction(ISD::FEXP, (MVT::SimpleValueType)VT, Expand);
+    setOperationAction(ISD::FEXP2, (MVT::SimpleValueType)VT, Expand);
   }
 
   if (Subtarget->hasMMX()) {