1 ; RUN: llc -verify-machineinstrs -o - %s -mtriple=aarch64-linux-gnu -aarch64-enable-atomic-cfg-tidy=0 | FileCheck %s
3 @stored_label = dso_local global ptr null
5 define dso_local void @foo() {
7 %lab = load ptr, ptr @stored_label
8 indirectbr ptr %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]+}}