[llvm] [llvm] Use ABI instead of preferred alignment for const prop checks (PR #142500)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 16:40:18 PDT 2025


ilovepi wrote:


> I can add another test that asserts the ABI alignment is used instead of the preferred alignment. Existing tests only specified the preferred alignment so the ABI alignment could be anything which led to different codegen (for example, some i8 constants weren't propagated since they had an ABI alignment of 4). I updated the tests just to be explicit about the ABI alignment since we were previously explicit about the preferred alignment.

I think that's preferable. 

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


More information about the llvm-commits mailing list