[llvm] Increase NumVisited limit to 18 (PR #80627)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 12:08:58 PST 2024
================
@@ -918,11 +918,11 @@ bool TwoAddressInstructionPass::rescheduleMIBelowKill(
MachineBasicBlock::iterator KillPos = KillMI;
++KillPos;
for (MachineInstr &OtherMI : make_range(End, KillPos)) {
+ if (NumVisited >= 18) // FIXME: Arbitrary limit to reduce compile time cost.
+ return false;
----------------
nikic wrote:
This check must come after isDebug, otherwise you will break debug invariance.
https://github.com/llvm/llvm-project/pull/80627
More information about the llvm-commits
mailing list