[llvm-branch-commits] [llvm] [SelectionDAG][X86] Split via Concat <n x T> vector types for atomic load (PR #120640)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 22 01:09:56 PST 2025


================
@@ -5218,7 +5218,11 @@ void SelectionDAGBuilder::visitAtomicLoad(const LoadInst &I) {
     L = DAG.getPtrExtOrTrunc(L, dl, VT);
 
   setValue(&I, L);
-  DAG.setRoot(OutChain);
+
----------------
arsenm wrote:

Atomics cannot be vectorized, so I don't understand. No matter what, this does not belong in this patch 

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


More information about the llvm-branch-commits mailing list