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

llvm-svn: 102488
This commit is contained in:
Evan Cheng 2010-04-28 02:25:18 +00:00
parent fe420adde0
commit d21f564543
1 changed files with 1 additions and 1 deletions

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