[llvm] [AArch64][SME] Add remarks to flag lazy ZA saves, and SMSTART/SMSTOP transitions (PR #68255)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 00:25:36 PDT 2023


================
@@ -7362,6 +7363,18 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
   else if (auto *ES = dyn_cast<ExternalSymbolSDNode>(CLI.Callee))
     CalleeAttrs = SMEAttrs(ES->getSymbol());
 
+  auto DescribeCallsite =
+      [&](OptimizationRemarkAnalysis &R) -> OptimizationRemarkAnalysis & {
+    R << "call from " << ore::NV("Caller", MF.getName()) << " to ";
----------------
sdesmalen-arm wrote:

Can you add single quotes around the function names? That's what other remarks seem to do (such as the inliner)

https://github.com/llvm/llvm-project/pull/68255


More information about the llvm-commits mailing list