diff options
| author | Matthias Braun <matze@braunis.de> | 2017-05-26 06:32:31 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-05-26 06:32:31 +0000 |
| commit | e51c435c07d741ffbf7e3af02fde6cb1671168ed (patch) | |
| tree | 90f05d9bb9711ee6c6d01e3222e358e1ddccb8f6 /llvm/lib/CodeGen/BranchRelaxation.cpp | |
| parent | 3250ae3f7ca65e15c86a82e6f4d4ea2f5236400f (diff) | |
| download | bcm5719-llvm-e51c435c07d741ffbf7e3af02fde6cb1671168ed.tar.gz bcm5719-llvm-e51c435c07d741ffbf7e3af02fde6cb1671168ed.zip | |
LivePhysRegs: Skip reserved regs in computeLiveIns; NFCI
Re-commit r303937 + r303949 as they were not the cause for the build
failures.
We do not track liveness of reserved registers so adding them to the
liveins list in computeLiveIns() was completely unnecessary.
llvm-svn: 303970
Diffstat (limited to 'llvm/lib/CodeGen/BranchRelaxation.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/BranchRelaxation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchRelaxation.cpp b/llvm/lib/CodeGen/BranchRelaxation.cpp index 7af13694166..feaabb44c07 100644 --- a/llvm/lib/CodeGen/BranchRelaxation.cpp +++ b/llvm/lib/CodeGen/BranchRelaxation.cpp @@ -259,7 +259,7 @@ MachineBasicBlock *BranchRelaxation::splitBlockBeforeInstr(MachineInstr &MI, // Need to fix live-in lists if we track liveness. if (TRI->trackLivenessAfterRegAlloc(*MF)) - computeLiveIns(LiveRegs, *TRI, *NewBB); + computeLiveIns(LiveRegs, MF->getRegInfo(), *NewBB); ++NumSplit; |

