[llvm] [GlobalOpt] Fix alignments of globals introduced for allocations (PR #216480)

Ömer Sinan Ağacan via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 3 04:45:00 PDT 2026


osa1 wrote:

The more I think about this issue and work on this pass, the more I'm starting to wonder whether this transformation is really worth it..

I don't know what the original motivation was and how much of a perf/size win it was, but considering the buggy edge cases we found here (with the help of an LLM, I'd never be able to come up with these myself) (most of them apply to the `main` branch as well) I kinda feel like the complexity of this transformation may not worth it.

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


More information about the llvm-commits mailing list