Displaying 1 result from an estimated 1 matches for "x86_64_func".
2017 May 09
3
RFC: SROA for method argument
...uct.record = type { i64, i32, i32 }
define signext i32 @ppc64le_func([2 x i64] %r.coerce) #0 {
entry:
%r = alloca %struct.record, align 8
%0 = bitcast %struct.record* %r to [2 x i64]*
store [2 x i64] %r.coerce, [2 x i64]* %0, align 8
....
for x86_64
define i32 @x86_64_func(i64 %r.coerce0, i64 %r.coerce1) #0 {
entry:
%r = alloca %struct.record, align 8
%0 = bitcast %struct.record* %r to { i64, i64 }*
%1 = getelementptr inbounds { i64, i64 }, { i64, i64 }* %0, i32 0,
i32 0
store i64 %r.coerce0, i64* %1, align 8
%2 = getelementptr inbou...