[llvm-branch-commits] [llvm] [SelectionDAG][X86] Remove unused elements from atomic vector. (PR #125432)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun May 11 13:58:01 PDT 2025
================
@@ -60388,6 +60393,35 @@ static SDValue combineINTRINSIC_VOID(SDNode *N, SelectionDAG &DAG,
return SDValue();
}
+static SDValue combineVZEXT_LOAD(SDNode *N, SelectionDAG &DAG,
+ TargetLowering::DAGCombinerInfo &DCI) {
+ // Find the TokenFactor to locate the associated AtomicLoad.
+ SDNode *ALD = nullptr;
+ for (auto &TF : DAG.allnodes())
----------------
arsenm wrote:
Looking at all nodes should never be necessary
https://github.com/llvm/llvm-project/pull/125432
More information about the llvm-branch-commits
mailing list