1 ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
2 ; RUN: llc -verify-machineinstrs -o - %s -mtriple=arm64 | FileCheck %s
4 @stored_label = global i8* null
8 %lab = load i8** @stored_label
9 indirectbr i8* %lab, [label %otherlab, label %retlab]
10 ; CHECK: adrp {{x[0-9]+}}, stored_label
11 ; CHECK: ldr {{x[0-9]+}}, [{{x[0-9]+}}, {{#?}}:lo12:stored_label]
12 ; CHECK: br {{x[0-9]+}}