[llvm] [CodeGen] Remove NumVisited limit in TwoAddressInstructionPass (PR #80627)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 00:56:33 PST 2024


nikic wrote:

The previously version of this PR that just raised the limits a bit looked fine to me.

> > Should the bound maybe be a `cl::opt`?
> 
> I don't think that is needed.

It's indeed not needed, but it's pretty common to use a cl::opt for such cutoffs, so it's easier to test different value for them.

https://github.com/llvm/llvm-project/pull/80627


More information about the llvm-commits mailing list