xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/byval6.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mcpu=generic -march=x86 | grep add | not grep 16
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker	%struct.W = type { x86_fp80, x86_fp80 }
4*9880d681SAndroid Build Coastguard Worker@B = global %struct.W { x86_fp80 0xK4001A000000000000000, x86_fp80 0xK4001C000000000000000 }, align 32
5*9880d681SAndroid Build Coastguard Worker@.cpx = internal constant %struct.W { x86_fp80 0xK4001E000000000000000, x86_fp80 0xK40028000000000000000 }
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Workerdefine i32 @main() nounwind  {
8*9880d681SAndroid Build Coastguard Workerentry:
9*9880d681SAndroid Build Coastguard Worker	tail call void (i32, ...) @bar( i32 3, %struct.W* byval  @.cpx ) nounwind
10*9880d681SAndroid Build Coastguard Worker	tail call void (i32, ...) @baz( i32 3, %struct.W* byval  @B ) nounwind
11*9880d681SAndroid Build Coastguard Worker	ret i32 undef
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Workerdeclare void @bar(i32, ...)
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Workerdeclare void @baz(i32, ...)
17