brintos

brintos / llvm-project-archived public Read only

0
0
Text · 948 B · ca65bbb Raw
33 lines · plain
1; RUN: llc -mtriple=aarch64-apple-ios -global-isel -stop-after=irtranslator %s -o - | FileCheck %s2 3%struct.foo = type { i64, i64, %struct.pluto, %struct.pluto }4%struct.pluto = type { %struct.wombat }5%struct.wombat = type { ptr, ptr, %struct.barney }6%struct.barney = type { %struct.widget }7%struct.widget = type { ptr }8 9declare i32 @hoge(...)10 11define void @pluto() align 2 personality ptr @hoge {12; CHECK-LABEL: @pluto13; CHECK: bb.1.bb14; CHECK: successors: %bb.2(0x00000000), %bb.3(0x80000000)15; CHECK: EH_LABEL <mcsymbol >16; CHECK: G_BR %bb.217 18bb:19  invoke void @spam()20          to label %bb1 unwind label %bb221 22bb1:                                              ; preds = %bb23  unreachable24 25bb2:                                              ; preds = %bb26  %tmp = landingpad { ptr, i32 }27          cleanup28  %tmp3 = getelementptr inbounds %struct.foo, ptr undef, i64 0, i32 3, i32 0, i32 029  resume { ptr, i32 } %tmp30}31 32declare void @spam()33