projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e10038e
)
Add explicit braces to avoid ambiguous ‘else’.
author
Dan Gohman
<gohman@apple.com>
Thu, 18 Mar 2010 18:07:13 +0000
(18:07 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 18 Mar 2010 18:07:13 +0000
(18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98838
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLocal.cpp
b/lib/CodeGen/RegAllocLocal.cpp
index 194fc14848bc0494d531d0a0dc9956be36afbda2..2c69065b14274c0ccd55c3edeafc7d9b0a00dfee 100644
(file)
--- a/
lib/CodeGen/RegAllocLocal.cpp
+++ b/
lib/CodeGen/RegAllocLocal.cpp
@@
-739,7
+739,7
@@
void RALocal::ComputeLocalLiveness(MachineBasicBlock& MBB) {
// Physical registers and those that are not live-out of the block are
// killed/dead at their last use/def within this block.
- if (isPhysReg || !usedOutsideBlock || BBEndsInReturn)
+ if (isPhysReg || !usedOutsideBlock || BBEndsInReturn)
{
if (MO.isUse()) {
// Don't mark uses that are tied to defs as kills.
if (!MI->isRegTiedToDefOperand(idx))
@@
-747,6
+747,7
@@
void RALocal::ComputeLocalLiveness(MachineBasicBlock& MBB) {
} else {
MO.setIsDead(true);
}
+ }
}
}