[PATCH] D70030: [MachineBlockPlacement] Fix UnscheduledPredecessors counter to reflect tail duplication.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 13:22:22 PST 2019


huihuiz updated this revision to Diff 232440.
huihuiz retitled this revision from "[MachineBlockPlacement] Update UnscheduledPredecessors when tail duplicate delete a block." to "[MachineBlockPlacement] Fix UnscheduledPredecessors counter to reflect tail duplication.".
huihuiz edited the summary of this revision.
huihuiz added a comment.

"The main problem is the fix should be applied to all duplication even if BB is not removed."
-> Make sense, thank you for pointing this out.

Please let me know if there are any different opinions?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70030/new/

https://reviews.llvm.org/D70030

Files:
  llvm/lib/CodeGen/MachineBlockPlacement.cpp
  llvm/test/CodeGen/ARM/block-placement-tail-duplication_pr44122.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70030.232440.patch
Type: text/x-patch
Size: 32162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191205/5cccada7/attachment.bin>


More information about the llvm-commits mailing list