xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/tailcall-readnone.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -mtriple=x86_64-unknown-linux-gnu -o - %s | FileCheck %s
2
3define void @f(i32** %p) unnamed_addr {
4entry:
5  %v = tail call i32* @g()
6  store i32* %v, i32** %p, align 8
7  ret void
8}
9; CHECK-LABEL: f:
10; CHECK: callq g
11; CHECK: movq    %rax, (%rbx)
12
13declare i32* @g() #2
14
15attributes #2 = { nounwind readnone }
16