Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / X86 / eh-nolandingpads.ll
bloba3f71ca33cf0e7737babaeb83160b9e0812be936
1 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s
2 ; Test that we emit functions with explicitly specified personality,
3 ; even if no landing pads are left.
5 declare i32 @__my_personality_v0(...)
6 declare void @might_throw()
8 define i32 @foo() personality ptr @__my_personality_v0 {
9 ; CHECK: .cfi_personality 3, __my_personality_v0
10     call void @might_throw()
11     ret i32 0