1 ; RUN: llc -march=hexagon -print-after=finalize-isel -o /dev/null 2>&1 < %s | FileCheck %s
5 ; CHECK: PS_call_nr @f2
7 target triple = "hexagon"
9 @g0 = external global i32
11 ; Function Attrs: nounwind
14 %v0 = load i32, i32* @g0, align 4
15 %v1 = tail call i32 @f1(i32 %v0) #0
16 %v2 = icmp eq i32 %v1, 0
17 br i1 %v2, label %b1, label %b2
20 tail call void @f2() #2
29 ; Function Attrs: noreturn
32 attributes #0 = { nounwind "disable-tail-calls"="true" }
33 attributes #1 = { noreturn }
34 attributes #2 = { noreturn nounwind }