brintos

brintos / llvm-project-archived public Read only

0
0
Text · 476 B · 52ff9eb Raw
17 lines · plain
1; RUN: llc < %s -mtriple=ve -exception-model sjlj | FileCheck %s2 3; Function Attrs: noinline nounwind optnone4define ptr @test_lsda() {5; CHECK-LABEL: test_lsda:6; CHECK:       # %bb.0:7; CHECK-NEXT:    lea %s0, GCC_except_table0@lo8; CHECK-NEXT:    and %s0, %s0, (32)09; 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()12  ret ptr %ret13}14 15; Function Attrs: nounwind16declare ptr @llvm.eh.sjlj.lsda()17