[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:40:57 PDT 2021


david-arm updated this revision to Diff 357176.
david-arm added a comment.

- Removed isAggregateTy assert for new scalarizeInstruction as I don't think we need to worry about this. I also updated the assert message for the original scalarizeInstruction function.
- Specialised the new scalarizeInstruction function for GEPs, since that's the only case we currently deal with. It's more readable and efficient this way.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105199/new/

https://reviews.llvm.org/D105199

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/lib/Transforms/Vectorize/VPlanValue.h
  llvm/test/Transforms/LoopVectorize/AArch64/sve-vpreplicate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105199.357176.patch
Type: text/x-patch
Size: 18176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210708/b5f2fe1d/attachment-0001.bin>


More information about the llvm-commits mailing list