diff options
author | Dan Gohman <gohman@apple.com> | 2007-10-12 14:09:42 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-10-12 14:09:42 +0000 |
commit | f0d008934051181e1b879f7383cb333f8770d116 (patch) | |
tree | 91264d3fd9f961c89120ece2c0ad69bd37ae1a42 | |
parent | a3f269f7f6211958774f151833870935c91feaee (diff) |
Mark vector ctpop, cttz, and ctlz as Expand on x86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42905 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 04c8da1aef..5a67f03460 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -477,6 +477,9 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM) setOperationAction(ISD::SDIVREM, (MVT::ValueType)VT, Expand); setOperationAction(ISD::UDIVREM, (MVT::ValueType)VT, Expand); setOperationAction(ISD::FPOW, (MVT::ValueType)VT, Expand); + setOperationAction(ISD::CTPOP, (MVT::ValueType)VT, Expand); + setOperationAction(ISD::CTTZ, (MVT::ValueType)VT, Expand); + setOperationAction(ISD::CTLZ, (MVT::ValueType)VT, Expand); } if (Subtarget->hasMMX()) { |