[llvm] [SME] Stop RA from coalescing COPY instructions that transcend beyond smstart/smstop. (PR #78294)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 04:13:42 PST 2024


================
@@ -8063,7 +8079,8 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
   // return.
   SDValue Result = LowerCallResult(Chain, InGlue, CallConv, IsVarArg, RVLocs,
                                    DL, DAG, InVals, IsThisReturn,
-                                   IsThisReturn ? OutVals[0] : SDValue());
+                                   IsThisReturn ? OutVals[0] : SDValue(),
+                                   RequiresSMChange.has_value());
----------------
sdesmalen-arm wrote:

That interface is indeed awfully confusing! I've refactored it here: #78703

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


More information about the llvm-commits mailing list