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:
5edc57f
)
Bad choice of variable name.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 10 Oct 2007 00:11:40 +0000
(
00:11
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 10 Oct 2007 00:11:40 +0000
(
00:11
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42821
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.cpp
b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index
4c1a96d
..
59e9e45
100644
(file)
--- a/
lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/
lib/CodeGen/SimpleRegisterCoalescing.cpp
@@
-861,8
+861,8
@@
void SimpleRegisterCoalescing::CopyCoalesceInMBB(MachineBasicBlock *MBB,
unsigned SrcReg, DstReg;
if (!tii_->isMoveInstr(*Inst, SrcReg, DstReg)) continue;
- bool
Success
= JoinCopy(Inst, SrcReg, DstReg, PhysOnly);
- if (TryAgain && !
Success
)
+ bool
Done
= JoinCopy(Inst, SrcReg, DstReg, PhysOnly);
+ if (TryAgain && !
Done
)
TryAgain->push_back(getCopyRec(Inst, SrcReg, DstReg));
}
}