1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
4 declare dso_local i8* @foo()
6 define dereferenceable(8) i8* @test1() nounwind {
9 ; CHECK-NEXT: jmp foo # TAILCALL
10 %ret = tail call i8* @foo()
14 define i8* @test2() nounwind {
17 ; CHECK-NEXT: jmp foo # TAILCALL
18 %ret = tail call dereferenceable(8) i8* @foo()
22 define dereferenceable_or_null(8) i8* @test3() nounwind {
25 ; CHECK-NEXT: jmp foo # TAILCALL
26 %ret = tail call i8* @foo()
30 define i8* @test4() nounwind {
33 ; CHECK-NEXT: jmp foo # TAILCALL
34 %ret = tail call dereferenceable_or_null(8) i8* @foo()
38 define align 8 i8* @test5() nounwind {
41 ; CHECK-NEXT: jmp foo # TAILCALL
42 %ret = tail call i8* @foo()
46 define i8* @test6() nounwind {
49 ; CHECK-NEXT: jmp foo # TAILCALL
50 %ret = tail call align 8 i8* @foo()