OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c2639
)
Fix a cut-n-paste-error.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 19 Nov 2010 23:01:16 +0000
(23:01 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 19 Nov 2010 23:01:16 +0000
(23:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119866
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelDAGToDAG.cpp
b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index
70821e1
..
4648a69
100644
(file)
--- a/
lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/
lib/Target/ARM/ARMISelDAGToDAG.cpp
@@
-1779,7
+1779,7
@@
SDNode *ARMDAGToDAGISel::
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;