[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
Mon Jan 29 03:39:00 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:

@aemerson I've rebased the patch after #78703 landed. Are you happy to give this PR another look?

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


More information about the llvm-commits mailing list