summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-03-09 09:45:37 +0000
committerMartin Storsjo <martin@martin.st>2018-03-09 09:45:37 +0000
commitccac66da83ee2bbb1fdccea875cf3cfb441554e7 (patch)
tree59245fb7d6f80dfbfe362a591019af3debaeb289 /llvm/test
parentc8127fc67410f5d96fc480c50d10492f361e834b (diff)
downloadbcm5719-llvm-ccac66da83ee2bbb1fdccea875cf3cfb441554e7.tar.gz
bcm5719-llvm-ccac66da83ee2bbb1fdccea875cf3cfb441554e7.zip
[AArch64] Fix use of a regex in the win-alloca.ll test. NFC.
Check that the variable actually is the same as the one previously matched. llvm-svn: 327107
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/AArch64/win-alloca.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/win-alloca.ll b/llvm/test/CodeGen/AArch64/win-alloca.ll
index 04467b94196..f26b33e24a7 100644
--- a/llvm/test/CodeGen/AArch64/win-alloca.ll
+++ b/llvm/test/CodeGen/AArch64/win-alloca.ll
@@ -19,5 +19,5 @@ declare void @func2(i8*)
; CHECK: bl __chkstk
; CHECK: mov [[REG2:x[0-9]+]], sp
; CHECK-OPT: sub [[REG3:x[0-9]+]], [[REG2]], x15, lsl #4
-; CHECK-OPT: mov sp, [[REG3:x[0-9]+]]
+; CHECK-OPT: mov sp, [[REG3]]
; CHECK: bl func2
OpenPOWER on IntegriCloud