[llvm-branch-commits] [llvm] [AArch64][llvm] Unify AArch64 tests into a single file (4/4) (NFC) (PR #146331)
Jonathan Thackray via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 28 06:46:43 PDT 2025
================
@@ -1,19 +1,47 @@
-# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
-// RUN: llvm-mc -triple aarch64 -show-encoding %s | FileCheck %s
-.func:
+// RUN: llvm-mc -triple=aarch64 -show-encoding < %s \
+// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
+// RUN: llvm-mc -triple=aarch64 -filetype=obj < %s \
+// RUN: | llvm-objdump -d --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST
----------------
jthackray wrote:
I couldn't quite get this to work for both using `llvm-lit`, since one is checking a substring of the other, and the matching gets confused, but we don't need `CHECK-INST` since we're checking this within `CHECK-UNKNOWN`, and there is no instruction gating for the `apas` instruction.
https://github.com/llvm/llvm-project/pull/146331
More information about the llvm-branch-commits
mailing list