mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add explicit braces to avoid ambiguous ‘else’.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e10038e54e
commit
1584390e55
@ -739,7 +739,7 @@ void RALocal::ComputeLocalLiveness(MachineBasicBlock& MBB) {
|
|||||||
|
|
||||||
// Physical registers and those that are not live-out of the block are
|
// Physical registers and those that are not live-out of the block are
|
||||||
// killed/dead at their last use/def within this block.
|
// killed/dead at their last use/def within this block.
|
||||||
if (isPhysReg || !usedOutsideBlock || BBEndsInReturn)
|
if (isPhysReg || !usedOutsideBlock || BBEndsInReturn) {
|
||||||
if (MO.isUse()) {
|
if (MO.isUse()) {
|
||||||
// Don't mark uses that are tied to defs as kills.
|
// Don't mark uses that are tied to defs as kills.
|
||||||
if (!MI->isRegTiedToDefOperand(idx))
|
if (!MI->isRegTiedToDefOperand(idx))
|
||||||
@ -748,6 +748,7 @@ void RALocal::ComputeLocalLiveness(MachineBasicBlock& MBB) {
|
|||||||
MO.setIsDead(true);
|
MO.setIsDead(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
||||||
|
Loading…
Reference in New Issue
Block a user