[llvm] [MachineScheduler] Add option to control reordering for store/load clustering (PR #75338)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 01:29:59 PST 2024


jayfoad wrote:

Are you saying that reordering the instructions to match the order in MemOpInfo is positively desirable in some cases? I only disabled it because it seemed completely arbitrary to me.

I think it would be even better if we could find some way to schedule the instructions adjacently without enforcing any particular order, but I don't see any way to do this just by adding edges to the DAG.

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


More information about the llvm-commits mailing list