1 ; RUN: opt -S -prune-eh < %s | FileCheck %s 2 3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 4 target triple = "x86_64-unknown-linux-gnu" 5 6 define void @f() #0 { 7 entry: 8 call void asm sideeffect "ret\0A\09", "~{dirflag},~{fpsr},~{flags}"() 9 unreachable 10 } 11 12 define i32 @g() { 13 entry: 14 call void @f() 15 ret i32 42 16 } 17 18 ; CHECK-LABEL: define i32 @g() 19 ; CHECK: ret i32 42 20 21 attributes #0 = { naked noinline } 22