[llvm] [CodeGen] Remove NumVisited limit in TwoAddressInstructionPass (PR #80627)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 3 23:09:59 PST 2024
efriedma-quic wrote:
I'm skeptical it's a good idea to remove the limit completely. The reason we have thresholds like this is that it allows us to use simple algorithms that would otherwise be O(n^2) or worse. Usually what happens is that the code appears to work fine on common benchmarks, but then someone files a bug report saying the compiler times out in specific cases.
https://github.com/llvm/llvm-project/pull/80627
More information about the llvm-commits
mailing list