[llvm] [SROA]: Only defer trying partial sized ptr or ptr vector types (PR #82279)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 06:03:19 PST 2024


================
@@ -2304,6 +2305,34 @@ static VectorType *isVectorPromotionViable(Partition &P, const DataLayout &DL) {
       }
     }
   };
+  auto createAndCheckVectorTypesForPromotion =
----------------
arsenm wrote:

Can this be a regular helper function? I don't see what context this is capturing 

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


More information about the llvm-commits mailing list