1 ; RUN: llc %s -mtriple=s390x-linux-gnu -mcpu=z10 -o - -verify-machineinstrs \
4 define void @test1() #0 {
9 ; CHECK: brasl %r0, __fentry__
14 define void @test2() #1 {
18 call void @address_taken(i64 ptrtoint (ptr blockaddress(@test2, %bb1) to i64), i32 512)
22 ; CHECK: brasl %r0, __fentry__
27 declare void @address_taken(i64, i32) local_unnamed_addr
28 attributes #0 = { "fentry-call"="true" }
29 attributes #1 = { inlinehint minsize noredzone nounwind optsize sspstrong "fentry-call"="true" }