[AArch64] Refactor checks in sign-return-address.ll test
authorAnatoly Trosinenko <atrosinenko@accesssoftek.com>
Sat, 29 Jul 2023 08:37:51 +0000 (11:37 +0300)
committerTobias Hieta <tobias@hieta.se>
Fri, 11 Aug 2023 07:00:15 +0000 (09:00 +0200)
commit506f5b47a2fcd1b871b39702ee9ecbe50a798cb3
tree4806eb93597d180580de6040a0cef055fc97aaf8
parentcaa1a8b0d6b51d0cf44ca9d0cd1cdd9af370583e
[AArch64] Refactor checks in sign-return-address.ll test

Using implicit CHECK prefix in one FileCheck invocation and explicit
CHECK-V83A in the other one seems to misguide to use CHECK: lines as
a common matching prefix at various places. Also note that

; CHECK, CHECK-V83A: ...

line only matches the "CHECK-V83A" prefix.

This commit explicitly splits the checks into common ones (CHECK) and
invocation-specific ones (COMPAT and V83A) and updates the assertions
with the update_llc_test_checks.py script.

Reviewed By: efriedma, MaskRay

Differential Revision: https://reviews.llvm.org/D156327

(cherry picked from commit 4210204f521be3caa0e60bd596af3444cbd44d04)
llvm/test/CodeGen/AArch64/sign-return-address.ll