1 ; RUN: llc < %s -mtriple=ve -exception-model sjlj | FileCheck %s
3 ; Function Attrs: noinline nounwind optnone
4 define ptr @test_lsda() {
5 ; CHECK-LABEL: test_lsda:
7 ; CHECK-NEXT: lea %s0, GCC_except_table0@lo
8 ; CHECK-NEXT: and %s0, %s0, (32)0
9 ; CHECK-NEXT: lea.sl %s0, GCC_except_table0@hi(, %s0)
10 ; CHECK-NEXT: b.l.t (, %s10)
11 %ret = call ptr @llvm.eh.sjlj.lsda()
15 ; Function Attrs: nounwind
16 declare ptr @llvm.eh.sjlj.lsda()