[PATCH] D55110: call dependencies between BranchFolder::replaceTailWithBranchTo and BranchFolder::mergeCommonTails
Pierrick via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 04:20:02 PST 2018
pbrunet updated this revision to Diff 176086.
pbrunet added a comment.
Update line numbers as previous diff was on an old branch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55110/new/
https://reviews.llvm.org/D55110
Files:
lib/CodeGen/BranchFolding.cpp
Index: lib/CodeGen/BranchFolding.cpp
===================================================================
--- lib/CodeGen/BranchFolding.cpp
+++ lib/CodeGen/BranchFolding.cpp
@@ -413,7 +413,7 @@
if (UpdateLiveIns) {
// OldInst should always point to an instruction.
MachineBasicBlock &OldMBB = *OldInst->getParent();
- LiveRegs.clear();
+ LiveRegs.init(*TRI);
LiveRegs.addLiveOuts(OldMBB);
// Move backward to the place where will insert the jump.
MachineBasicBlock::iterator I = OldMBB.end();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55110.176086.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181130/7d877c2a/attachment.bin>
More information about the llvm-commits
mailing list