[llvm-branch-commits] [llvm] [SelectionDAG][X86] Widen <2 x T> vector types for atomic load (PR #120598)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 2 17:28:34 PST 2025


================
@@ -52242,6 +52243,81 @@ static SDValue combineConstantPoolLoads(SDNode *N, const SDLoc &dl,
   return SDValue();
 }
 
+static MVT getScalarTypeFromVectorType(MVT VT) {
----------------
arsenm wrote:

This is just getIntegerVT(DAG.getContext(), VT.getSizeInBits())

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


More information about the llvm-branch-commits mailing list