[llvm] 1b3de88 - AArch64: Fix hardcoded register in test
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 10:56:45 PDT 2020
Author: Matt Arsenault
Date: 2020-08-25T13:56:39-04:00
New Revision: 1b3de8812df8a009084c554f65e3dafb54732edf
URL: https://github.com/llvm/llvm-project/commit/1b3de8812df8a009084c554f65e3dafb54732edf
DIFF: https://github.com/llvm/llvm-project/commit/1b3de8812df8a009084c554f65e3dafb54732edf.diff
LOG: AArch64: Fix hardcoded register in test
Added:
Modified:
llvm/test/CodeGen/AArch64/stack-guard-reassign.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/stack-guard-reassign.ll b/llvm/test/CodeGen/AArch64/stack-guard-reassign.ll
index 6b00eda6233a..71d3d27a1b64 100644
--- a/llvm/test/CodeGen/AArch64/stack-guard-reassign.ll
+++ b/llvm/test/CodeGen/AArch64/stack-guard-reassign.ll
@@ -3,6 +3,6 @@
; Verify that the offset assigned to the stack protector is at the top of the
; frame, covering the locals.
; CHECK-LABEL: fn:
-; CHECK: adrp x8, __stack_chk_guard
-; CHECK-NEXT: ldr x8, [x8, :lo12:__stack_chk_guard]
-; CHECK-NEXT: stur x8, [x29, #-8]
+; CHECK: adrp [[REG:x[0-9]+]], __stack_chk_guard
+; CHECK-NEXT: ldr [[REG]], {{\[}}[[REG]], :lo12:__stack_chk_guard]
+; CHECK-NEXT: stur [[REG]], [x29, #-8]
More information about the llvm-commits
mailing list