[llvm] [AArch64][SME] Implement the SME ABI (ZA state management) in Machine IR (PR #149062)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 7 09:02:22 PDT 2025


================
@@ -9001,6 +9009,9 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
   if (MF.getTarget().Options.EmitCallGraphSection && CB && CB->isIndirectCall())
     CSInfo = MachineFunction::CallSiteInfo(*CB);
 
+  // Determine whether we need any streaming mode changes.
+  SMECallAttrs CallAttrs = getSMECallAttrs(MF.getFunction(), CLI);
----------------
paulwalker-arm wrote:

Any reason not to move this next to where is it used?

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


More information about the llvm-commits mailing list