[llvm] [LoopInterchange] Constrain number of load/stores in a loop (PR #118973)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 13:59:02 PST 2025


CongzheUalberta wrote:

> @CongzheUalberta Happy new year! Did you get a chance to look at this further?

Thanks for the clarification. Now I can see this patch could reduce the compile time of loop interchange.

> Also, it is probably better to now turn that constant MaxMemInstrCount into an option with a default value, so that it could be easily adjusted on the command line for testing purposes.

I do second this. It would be more handy to turn MaxMemInstrCount into a command line option.


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


More information about the llvm-commits mailing list