diff options
| author | Matthias Braun <matze@braunis.de> | 2016-05-03 00:24:32 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2016-05-03 00:24:32 +0000 |
| commit | d1aabb28134a7e72ce4d6ac26b093648f5c57e88 (patch) | |
| tree | 2442763e87b35507f5fc54eb68af0e6ff1d6a223 /llvm/lib/CodeGen/ExecutionDepsFix.cpp | |
| parent | a4e71bd11a8cbec276460bb3db47283fc3b05428 (diff) | |
| download | bcm5719-llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.tar.gz bcm5719-llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.zip | |
livePhysRegs: Pass MBB by reference in addLive{Ins|Outs}(); NFC
The block must no be nullptr for the addLiveIns()/addLiveOuts()
function.
llvm-svn: 268340
Diffstat (limited to 'llvm/lib/CodeGen/ExecutionDepsFix.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/ExecutionDepsFix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ExecutionDepsFix.cpp b/llvm/lib/CodeGen/ExecutionDepsFix.cpp index 12ea9e3844b..7555f403aae 100644 --- a/llvm/lib/CodeGen/ExecutionDepsFix.cpp +++ b/llvm/lib/CodeGen/ExecutionDepsFix.cpp @@ -560,7 +560,7 @@ void ExeDepsFix::processUndefReads(MachineBasicBlock *MBB) { 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); + LiveRegSet.addLiveOutsNoPristines(*MBB); MachineInstr *UndefMI = UndefReads.back().first; unsigned OpIdx = UndefReads.back().second; |

