[clang] [llvm] [AArch64][SME] Add pass remarks to the MachineSMEABIPass (PR #170277)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 16 03:54:09 PST 2025
================
@@ -0,0 +1,119 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=aarch64 -mattr=+sme2 --pass-remarks-analysis=sme -o /dev/null < %s 2>&1 | FileCheck %s
+; RUN: llc -mtriple=aarch64 -mattr=+sme2 --aarch64-new-sme-abi --pass-remarks-analysis=sme -o /dev/null < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NEWLOWERING
+
+declare void @private_za_callee()
+declare void @private_za_callee_a()
+declare void @private_za_callee_b()
+declare void @private_za_callee_c()
+
+declare void @shared_za_callee() "aarch64_inout_za"
+declare void @shared_za_zt0_callee() "aarch64_inout_za" "aarch64_inout_zt0"
+
+; Note: These remarks are more useful with source debug info (which gives line numbers for `<unknown>:0:0`).
----------------
MacDue wrote:
I've added a clang test for this (which should be a little easier to update). It also shows that resolving the callee name seems not to work for the old remarks, but that's unrelated to this change.
https://github.com/llvm/llvm-project/pull/170277
More information about the llvm-commits
mailing list