[llvm-commits] [llvm] r102488 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Tue Apr 27 19:25:18 PDT 2010
Author: evancheng
Date: Tue Apr 27 21:25:18 2010
New Revision: 102488
URL: http://llvm.org/viewvc/llvm-project?rev=102488&view=rev
Log:
Unbreak the build. Only form shld / shrd after legalization.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=102488&r1=102487&r2=102488&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Apr 27 21:25:18 2010
@@ -9597,7 +9597,7 @@
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);
More information about the llvm-commits
mailing list