Debian Codegraph @

llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/mips64_eh.ll

raw
1 ; RUN: llc -mtriple=mips64-unknown-linux < %s | FileCheck %s
2
3 define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*){
4 %1 = invoke i32 @foo() to label %good unwind label %bad
5 good:
6 ret i32 5
7 bad:
8 %2 = landingpad { i8*, i32 }
9 cleanup
10 resume { i8*, i32 } %2
11 }
12
13 declare i32 @foo()
14 declare i32 @__gxx_personality_v0(...)