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 | 8d978da3b076d623210a8bc7a41e76f5cb8783ec (patch) | |
| tree | 193302026d3bb89811fba31cc8255c091ce63b11 | |
| parent | 9013eaff9ab33be7febb9999046196476520829b (diff) | |
| download | bcm5719-llvm-8d978da3b076d623210a8bc7a41e76f5cb8783ec.tar.gz bcm5719-llvm-8d978da3b076d623210a8bc7a41e76f5cb8783ec.zip | |
Mark vector ctpop, cttz, and ctlz as Expand on x86.
llvm-svn: 42905
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 04c8da1aef4..5a67f03460a 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/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()) { |

