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

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 20 04:50:11 PST 2024


================
@@ -1146,6 +1146,9 @@ void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) {
     SplitVecRes_STEP_VECTOR(N, Lo, Hi);
     break;
   case ISD::SIGN_EXTEND_INREG: SplitVecRes_InregOp(N, Lo, Hi); break;
+  case ISD::ATOMIC_LOAD:
+    SplitVecRes_ATOMIC_LOAD(cast<AtomicSDNode>(N), Lo, Hi);
----------------
arsenm wrote:

This is not a valid legalization. This should be coerced to an equivalent width integer as a default action 

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


More information about the llvm-branch-commits mailing list