summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExecutionDepsFix.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-12-08 00:15:51 +0000
committerMatthias Braun <matze@braunis.de>2016-12-08 00:15:51 +0000
commit0c989a893b0e65a7fac91982b1c05426c55ed14b (patch)
treee7cc6a3ffedbbb17623ce793d3a1689fdad51194 /llvm/lib/CodeGen/ExecutionDepsFix.cpp
parentae3168da3f9130365f1372b6c23582adbf72aa2c (diff)
downloadbcm5719-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/ExecutionDepsFix.cpp')
-rw-r--r--llvm/lib/CodeGen/ExecutionDepsFix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ExecutionDepsFix.cpp b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
index 54164c94395..e7c6b03f1a4 100644
--- a/llvm/lib/CodeGen/ExecutionDepsFix.cpp
+++ b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
@@ -612,7 +612,7 @@ void ExeDepsFix::processUndefReads(MachineBasicBlock *MBB) {
return;
// Collect this block's live out register units.
- LiveRegSet.init(TRI);
+ LiveRegSet.init(*TRI);
// We do not need to care about pristine registers as they are just preserved
// but not actually used in the function.
LiveRegSet.addLiveOutsNoPristines(*MBB);
OpenPOWER on IntegriCloud