[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / irtranslator-invoke-probabilities.ll
blob473216e9f17015e3e6ddafdb7fcf9e346d05f85b
1 ; RUN: llc -mtriple=aarch64-apple-ios -global-isel -stop-after=irtranslator %s -o - | FileCheck %s
3 %struct.foo = type { i64, i64, %struct.pluto, %struct.pluto }
4 %struct.pluto = type { %struct.wombat }
5 %struct.wombat = type { i32*, i32*, %struct.barney }
6 %struct.barney = type { %struct.widget }
7 %struct.widget = type { i32* }
9 declare i32 @hoge(...)
11 define void @pluto() align 2 personality i8* bitcast (i32 (...)* @hoge to i8*) {
12 ; CHECK-LABEL: @pluto
13 ; CHECK: bb.1.bb
14 ; CHECK: successors: %bb.2(0x00000000), %bb.3(0x80000000)
15 ; CHECK: EH_LABEL <mcsymbol >
16 ; CHECK: G_BR %bb.2
18 bb:
19   invoke void @spam()
20           to label %bb1 unwind label %bb2
22 bb1:                                              ; preds = %bb
23   unreachable
25 bb2:                                              ; preds = %bb
26   %tmp = landingpad { i8*, i32 }
27           cleanup
28   %tmp3 = getelementptr inbounds %struct.foo, %struct.foo* undef, i64 0, i32 3, i32 0, i32 0
29   resume { i8*, i32 } %tmp
32 declare void @spam()