forked from OSchip/llvm-project
Unbreak the build. Only form shld / shrd after legalization.
llvm-svn: 102488
This commit is contained in:
parent
fe420adde0
commit
d21f564543
|
@ -9597,7 +9597,7 @@ static SDValue PerformShiftCombine(SDNode* N, SelectionDAG &DAG,
|
|||
static SDValue PerformOrCombine(SDNode *N, SelectionDAG &DAG,
|
||||
TargetLowering::DAGCombinerInfo &DCI,
|
||||
const X86Subtarget *Subtarget) {
|
||||
if (!DCI.isBeforeLegalize())
|
||||
if (DCI.isBeforeLegalizeOps())
|
||||
return SDValue();
|
||||
|
||||
EVT VT = N->getValueType(0);
|
||||
|
|
Loading…
Reference in New Issue