================ @@ -1170,10 +1191,23 @@ class AllocaSlices::SliceBuilder : public PtrUseVisitor<SliceBuilder> { if (!IsOffsetKnown) return PI.setAborted(&II); + auto IsSplittable = [&]() { + FixedVectorType *VTy = getVectorTypeFor(II, DL); + Type *ATy = AS.AI.getAllocatedType(); + + if (!Length) + return false; + if (!VTy) + return true; + if (DL.getTypeAllocSize(VTy) != DL.getTypeAllocSize(ATy)) + return true; ---------------- macurtis-amd wrote:
Cleaned up the code. Hopefully better now. https://github.com/llvm/llvm-project/pull/133301 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits