[llvm] [AArch64] New pass for code layout optimizations. (PR #184434)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 25 13:57:33 PDT 2026
https://github.com/efriedma-quic commented:
Alignment is going to reduce noise, sure. In fact, you'll probably end up significantly reducing noise from all causes: sprinkling large alignment directives into your input will stabilize the addresses of everything.
Do you have any idea what percentage of the performance stabilization is coming from cmp/fcmp fusion, vs. other sources like branch prediction? As an experiment, you could try inserting a nop between every cmp/csel pair to suppress fusion, and see what happens with/without setting the alignment on top of that.
https://github.com/llvm/llvm-project/pull/184434
More information about the llvm-commits
mailing list