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(i8*)
9 define void @f() personality i8* null {
11 to label %ret unwind label %lpad
15 %vals = landingpad { i8*, i32 } catch i8* null
16 %ptr = extractvalue { i8*, i32 } %vals, 0
17 call void @terminate(i8* %ptr)
24 ; CHECK: movq %rax, %rdi
25 ; CHECK: callq terminate