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:
cf12ec4
)
Doh. This wasn't causing problems by luck.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Oct 2006 19:13:59 +0000
(19:13 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Oct 2006 19:13:59 +0000
(19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30914
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelDAGToDAG.cpp
b/lib/Target/X86/X86ISelDAGToDAG.cpp
index
e895b04
..
1b9212b
100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-220,7
+220,7
@@
static SDNode *findFlagUse(SDNode *N) {
SDNode *User = *I;
for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i) {
SDOperand Op = User->getOperand(i);
- if (Op.ResNo == FlagResNo)
+ if (Op.
Val == N && Op.
ResNo == FlagResNo)
return User;
}
}