Merging r258471:
[oota-llvm.git] / test / CodeGen / AArch64 / breg.ll
index fc490610e0d0359f49bb33e3d34b376663cf13a4..42061a851db2d58e9c6049f8cc6df52c56624abc 100644 (file)
@@ -1,13 +1,13 @@
-; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
+; RUN: llc -verify-machineinstrs -o - %s -mtriple=aarch64-linux-gnu -aarch64-atomic-cfg-tidy=0 | FileCheck %s
 
 @stored_label = global i8* null
 
 define void @foo() {
-; CHECK: foo:
-  %lab = load i8** @stored_label
+; CHECK-LABEL: foo:
+  %lab = load i8*, i8** @stored_label
   indirectbr i8* %lab, [label  %otherlab, label %retlab]
 ; CHECK: adrp {{x[0-9]+}}, stored_label
-; CHECK: ldr {{x[0-9]+}}, [{{x[0-9]+}}, #:lo12:stored_label]
+; CHECK: ldr {{x[0-9]+}}, [{{x[0-9]+}}, {{#?}}:lo12:stored_label]
 ; CHECK: br {{x[0-9]+}}
 
 otherlab: