================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to