diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-28 02:25:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-28 02:25:18 +0000 |
commit | 39cfeecae5102a6544b01e720e718607be068a45 (patch) | |
tree | 1a3f2c725938f4be2c583a2ff55a3558d3d223b8 | |
parent | da3a8a647d6be9510b363ef574656c535d52475d (diff) | |
download | external_llvm-39cfeecae5102a6544b01e720e718607be068a45.zip external_llvm-39cfeecae5102a6544b01e720e718607be068a45.tar.gz external_llvm-39cfeecae5102a6544b01e720e718607be068a45.tar.bz2 |
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
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index c38b678..3d87ffb 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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); |