[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
Tue Mar 5 03:19:31 PST 2024
================
@@ -2263,6 +2263,8 @@ static VectorType *createAndCheckVectorTypesForPromotion(
const DataLayout &DL, SmallVectorImpl<VectorType *> &CandidateTys,
bool &HaveCommonEltTy, Type *&CommonEltTy, bool &HaveVecPtrTy,
bool &HaveCommonVecPtrTy, VectorType *&CommonVecPtrTy) {
+ [[maybe_unused]] auto OriginalElt =
----------------
arsenm wrote:
bad auto, spell out the Type *
https://github.com/llvm/llvm-project/pull/82279
More information about the llvm-commits
mailing list