1 ; RUN: llc %s -o - -verify-machineinstrs | FileCheck %s
2 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-unknown-linux-gnu"
5 define void @test1() #0 {
10 ; CHECK: callq __fentry__
15 define void @test2() #1 {
19 call void @address_taken(i64 ptrtoint (i8* blockaddress(@test2, %bb1) to i64), i32 512)
23 ; CHECK: callq __fentry__
28 declare void @address_taken(i64, i32) local_unnamed_addr
29 attributes #0 = { "fentry-call"="true" }
30 attributes #1 = { inlinehint minsize noredzone nounwind optsize sspstrong "fentry-call"="true" }