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