[llvm] [llvm] Optimize misaligned accesses with early profitable splitting (PR #145168)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 21 07:17:36 PDT 2025


https://github.com/nikic commented:

My high level thought here is that we should be able to provide more information to SDAG when building. When we lower something like `load gep(p, const)` instead of creating MPI for `get(p, const) + 0` with the load alignment, we should (in cases where this does not reduce known alignment) instead create MPI for `p + const` and the base alignment of `p`.

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


More information about the llvm-commits mailing list