[llvm-commits] [llvm] r119866 - /llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Fri Nov 19 15:01:16 PST 2010
Author: evancheng
Date: Fri Nov 19 17:01:16 2010
New Revision: 119866
URL: http://llvm.org/viewvc/llvm-project?rev=119866&view=rev
Log:
Fix a cut-n-paste-error.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=119866&r1=119865&r2=119866&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Fri Nov 19 17:01:16 2010
@@ -1779,7 +1779,7 @@
SelectT2CMOVImmOp(SDNode *N, SDValue FalseVal, SDValue TrueVal,
ARMCC::CondCodes CCVal, SDValue CCR, SDValue InFlag) {
ConstantSDNode *T = dyn_cast<ConstantSDNode>(TrueVal);
- if (!T || !TrueVal.getNode()->hasOneUse())
+ if (!T)
return 0;
unsigned Opc = 0;
More information about the llvm-commits
mailing list