================ @@ -1170,10 +1204,17 @@ class AllocaSlices::SliceBuilder : public PtrUseVisitor<SliceBuilder> { if (!IsOffsetKnown) return PI.setAborted(&II); + bool Splittable; + + if (getVectorTypeFor(II, DL)) + Splittable = isSplittableMemOp(AS.AI.getAllocatedType(), II.isVolatile()); ---------------- nikic wrote:
I don't think checking AI.getAllocatedType() here makes a lot of sense, seeing as how the memset may only be operating on part of it. 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