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

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 05:09:55 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());
----------------
aemerson wrote:

RequiresSMChange being an `optional<bool>` is unclear to me what it means, and why having any value at all is what you want for the value of LowerCallResult()'s `bool RequiresSMChange` parameter.

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


More information about the llvm-commits mailing list