[llvm-branch-commits] [llvm] [SelectionDAG] Widen <2 x T> vector types for atomic store (PR #197618)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 14 02:49:41 PDT 2026
================
@@ -8061,6 +8064,59 @@ SDValue DAGTypeLegalizer::WidenVecOp_STORE(SDNode *N) {
report_fatal_error("Unable to widen vector store");
}
+/// Inverse of coerceLoadedValue: pull a FirstVT-sized scalar/vector out of the
+/// widened value so it can be issued in a single atomic store.
+static SDValue coerceStoredValue(SDValue StVal, EVT FirstVT, EVT WidenVT,
----------------
arsenm wrote:
Can you move this to be next to coerceLoadedValue
https://github.com/llvm/llvm-project/pull/197618
More information about the llvm-branch-commits
mailing list