forked from OSchip/llvm-project
Mark vector ctpop, cttz, and ctlz as Expand on x86.
llvm-svn: 42905
This commit is contained in:
parent
9013eaff9a
commit
8d978da3b0
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue