[llvm] [IR][Attributes] Take "best" from Callbase/Call Function when getting attributes (PR #112985)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 17:20:49 PDT 2024
================
@@ -443,4 +443,4 @@ declare void @end_struct_large_nonchar()
declare signext i16 @get_struct_small_nonchar()
declare void @end_struct_small_nonchar()
-declare void @takes_all(i64, i16, ptr byval(%struct.struct_large_nonchar) align 8, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32)
+declare void @takes_all(i64, i16, ptr byval(%struct.struct_large_nonchar) align 4, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32)
----------------
goldsteinn wrote:
In the test they always override callsite param with `align 4`. After this change it switches to 8 which causes ALOT of diffs in the stack allocations. Felt like a mistake when writing the test to have the two diverge.
But probably should add an ARM maintainer to this to be sure.
https://github.com/llvm/llvm-project/pull/112985
More information about the llvm-commits
mailing list