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