[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / test / CodeGen / PowerPC / sjlj_no0x.ll
blob01053c4070f1c3aa093f2dffb71dd7df25c455b5
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(i8* bitcast (void ()* @_Z23BuiltinLongJmpFunc1_bufv to i8*))
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(i8*) #1