[llvm-branch-commits] [llvm] CodeGen: Introduce MachineFunction::getPreferredAlignment(). (PR #158368)
Lei Huang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 27 10:13:30 PST 2026
================
@@ -26,7 +26,7 @@ entry:
declare signext i32 @do_something(ptr)
; CHECK: name: test
-; CHECK: alignment: 16
+; CHECK: alignment: 4
----------------
lei137 wrote:
I didn't expect this patch to change the alignment for this test and thought it was supposed to be preferred alignment here. However, it also looks like this is the only test we have for alignments. Do you know how I can test the preferred alignment calculation?
https://github.com/llvm/llvm-project/pull/158368
More information about the llvm-branch-commits
mailing list