summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShu-Chun Weng <scw@google.com>2019-11-07 15:47:41 -0800
committerShu-Chun Weng <scw@google.com>2019-11-07 16:18:26 -0800
commit793679836a09da76fae910916d8997e69a06d9ca (patch)
tree1fdf3aa7d1bf495ae20b719e67a6a6286ee35edd
parentddff808e07d1e14565e688118e246c4b97630dae (diff)
downloadbcm5719-llvm-793679836a09da76fae910916d8997e69a06d9ca.tar.gz
bcm5719-llvm-793679836a09da76fae910916d8997e69a06d9ca.zip
[llvm/test] Update test comments
-rw-r--r--llvm/test/CodeGen/AArch64/arm64-preserve-most.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-preserve-most.ll b/llvm/test/CodeGen/AArch64/arm64-preserve-most.ll
index 287fe92b0f5..7085bf3962b 100644
--- a/llvm/test/CodeGen/AArch64/arm64-preserve-most.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-preserve-most.ll
@@ -6,10 +6,10 @@ target triple = "aarch64-unknown-linux-gnu"
declare void @normal_cc()
-; Caller: preserve_mostcc; callee: normalcc. All normally callee saved registers
-; (x9 ~ x15) need to be spilled. Since most of them will be spilled in pairs
-; in reverse order, we only check the odd number ones since the same line of
-; assembly cannot be matched twice.
+; Caller: preserve_mostcc; callee: normalcc. Normally callee saved registers
+; x9~x15 need to be spilled. Since most of them will be spilled in pairs in
+; reverse order, we only check the odd number ones due to FileCheck not
+; matching the same line of assembly twice.
; CHECK-LABEL: preserve_most
; CHECK-DAG: {{st[rp]}} {{(x[0-9]+, )?x9(, x[0-9]+)?}}, [sp, #{{[-0-9]+}}]
; CHECK-DAG: {{st[rp]}} {{(x[0-9]+, )?x11(, x[0-9]+)?}}, [sp, #{{[-0-9]+}}]
@@ -25,7 +25,7 @@ define preserve_mostcc void @preserve_most() {
; CHECK-LABEL: normal_cc_caller
; CHECK-NOT: stp {{x[0-9]+}}, x9, [sp, #{{[-0-9]+}}]
; CHECK-NOT: stp x9, {{x[0-9]+}}, [sp, #{{[-0-9]+}}]
-; CHECK-NOT: str x9, [sp, {{#[-0-9]+}}]!
+; CHECK-NOT: str x9, [sp, {{#[-0-9]+}}]
define dso_local void @normal_cc_caller() {
entry:
%v = alloca i32, align 4
OpenPOWER on IntegriCloud