[llvm] [Codegen] (NFC) Faster algorithm for MachineBlockPlacement (PR #91843)
William Junda Huang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 19:30:47 PDT 2024
================
@@ -3119,6 +3159,8 @@ bool MachineBlockPlacement::maybeTailDuplicateBlock(
// Handle the filter set
if (BlockFilter) {
BlockFilter->remove(RemBB);
+ if (*PrevUnplacedBlockInFilterIt == RemBB)
----------------
huangjd wrote:
done
https://github.com/llvm/llvm-project/pull/91843
More information about the llvm-commits
mailing list