[PATCH] D106164: [LV] Don't assume isScalarAfterVectorization if one of the uses needs widening.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 07:17:34 PDT 2021


sdesmalen updated this revision to Diff 360119.
sdesmalen added a comment.

Instead of removing a scalar pointer from the worklist, prevent it from being added.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106164

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll
  llvm/test/Transforms/LoopVectorize/pointer-induction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106164.360119.patch
Type: text/x-patch
Size: 10119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/eeee8994/attachment.bin>


More information about the llvm-commits mailing list