diff options
author | Matthias Braun <matze@braunis.de> | 2016-12-08 00:15:51 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-12-08 00:15:51 +0000 |
commit | 0c989a893b0e65a7fac91982b1c05426c55ed14b (patch) | |
tree | e7cc6a3ffedbbb17623ce793d3a1689fdad51194 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | ae3168da3f9130365f1372b6c23582adbf72aa2c (diff) | |
download | bcm5719-llvm-0c989a893b0e65a7fac91982b1c05426c55ed14b.tar.gz bcm5719-llvm-0c989a893b0e65a7fac91982b1c05426c55ed14b.zip |
LivePhysReg: Use reference instead of pointer in init(); NFC
llvm-svn: 289002
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 20c36a923df..20dc8805150 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -353,7 +353,7 @@ void BranchFolder::computeLiveIns(MachineBasicBlock &MBB) { if (!UpdateLiveIns) return; - LiveRegs.init(TRI); + LiveRegs.init(*TRI); LiveRegs.addLiveOutsNoPristines(MBB); for (MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) LiveRegs.stepBackward(MI); |