1 ; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
3 ; We should treat non-Function personalities as the unknown personality, which
7 declare void @terminate(ptr)
9 define void @f() personality ptr null {
11 to label %ret unwind label %lpad
15 %vals = landingpad { ptr, i32 } catch ptr null
16 %ptr = extractvalue { ptr, i32 } %vals, 0
17 call void @terminate(ptr %ptr)
24 ; CHECK: movq %rax, %rdi
25 ; CHECK: callq terminate