From 793679836a09da76fae910916d8997e69a06d9ca Mon Sep 17 00:00:00 2001 From: Shu-Chun Weng Date: Thu, 7 Nov 2019 15:47:41 -0800 Subject: [PATCH] [llvm/test] Update test comments --- llvm/test/CodeGen/AArch64/arm64-preserve-most.ll | 10 +++++----- 1 file 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 287fe92..7085bf3 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 -- 2.7.4