Unbreak the build. Only form shld / shrd after legalization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2010-04-28 02:25:18 +00:00
parent da3a8a647d
commit 39cfeecae5

View File

@ -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);