[PATCH] D105199: [LoopVectorize] Fix scalable vector crash in VPReplicateRecipe::execute
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 8 02:42:10 PDT 2021
david-arm marked 2 inline comments as done.
david-arm added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3078
+ VPTransformState &State) {
+ assert(!Instr->getType()->isAggregateType() && "Can't handle vectors");
+
----------------
kmclaughlin wrote:
> I'm a bit confused by the message for this assert, as I thought vectors are not considered to be aggregate types?
That's a good point! I've removed the assert anyway as I don't think it's necessary, and I've also corrected the message for the assert in the original scalarizeInstruction function
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105199/new/
https://reviews.llvm.org/D105199
More information about the llvm-commits
mailing list