[llvm-branch-commits] [llvm] [SelectionDAG][X86] Split via Concat <n x T> vector types for atomic load (PR #120640)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 28 09:10:59 PDT 2025
================
@@ -1421,6 +1424,35 @@ void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) {
SetSplitVector(SDValue(N, ResNo), Lo, Hi);
}
+void DAGTypeLegalizer::SplitVecRes_ATOMIC_LOAD(AtomicSDNode *LD) {
----------------
jofrn wrote:
I had tried doing it by splitting Lo and Hi. I ran into an issue though because TokenFactor (what we join our values on) requires glue operands; however, EXTRACT_SUBVECTOR does not have these, nor does DAG.getAtomicLoad.
https://github.com/llvm/llvm-project/pull/120640
More information about the llvm-branch-commits
mailing list