Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / CodeGen / PowerPC / sjlj_no0x.ll
blob57a2704ad35a6d417ce21815bdbf5191b807e59e
1 ; RUN: llc < %s -relocation-model=pic -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -verify-machineinstrs | FileCheck %s
2 ; RUN: llc < %s -relocation-model=pic -mtriple=powerpc64-unknown-linux-gnu -mcpu=a2 -verify-machineinstrs | FileCheck %s
3 ; RUN: llc < %s -relocation-model=pic -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -verify-machineinstrs | FileCheck %s
5 target datalayout = "e-m:e-i64:64-n32:64"
6 target triple = "powerpc64le-unknown-linux-gnu"
8 ; Function Attrs: noinline nounwind
9 define void @_Z23BuiltinLongJmpFunc1_bufv() #0 {
10 entry:
11   call void @llvm.eh.sjlj.longjmp(ptr @_Z23BuiltinLongJmpFunc1_bufv)
12   unreachable
14 ; CHECK: @_Z23BuiltinLongJmpFunc1_bufv
15 ; CHECK: addis [[REG:[0-9]+]], 2, .LC0@toc@ha
16 ; CHECK: ld 31, 0([[REG]])
17 ; CHECK: ld [[REG2:[0-9]+]], 8([[REG]])
18 ; CHECK-DAG: ld 1, 16([[REG]])
19 ; CHECK-DAG: ld 30, 32([[REG]])
20 ; CHECK-DAG: ld 2, 24([[REG]])
21 ; CHECK-DAG: mtctr [[REG2]]
22 ; CHECK: bctr
24 return:                                           ; No predecessors!
25   ret void
28 ; Function Attrs: noreturn nounwind
29 declare void @llvm.eh.sjlj.longjmp(ptr) #1