1 ; RUN: llc -verify-machineinstrs -o - %s -mtriple=aarch64-linux-gnu -aarch64-atomic-cfg-tidy=0 | FileCheck %s 2 3 @stored_label = global i8* null 4 5 define void @foo() { 6 ; CHECK-LABEL: foo: 7 %lab = load i8*, 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]+}} 12 13 otherlab: 14 ret void 15 retlab: 16 ret void 17 } 18