[PATCH] D123541: [VPlan] Replace remaining use of needsScalarIV.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 12:52:07 PDT 2022


fhahn updated this revision to Diff 422616.
fhahn marked an inline comment as done.
fhahn added a comment.

Address latest comments.

In D123541#3448668 <https://reviews.llvm.org/D123541#3448668>, @Ayal wrote:

>> Note that there are some test changes, because we now can correctly look through instructions like truncates to analyze the actual users.
>
> this should be faster(?) ... and in some cases help clarify that a loop was actually not "vectorized" - when vector loop body is free of any vector instructions.

Agreed!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123541

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
  llvm/test/Transforms/LoopVectorize/X86/uniform_mem_op.ll
  llvm/test/Transforms/LoopVectorize/induction-multiple-uses-in-same-instruction.ll
  llvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll
  llvm/test/Transforms/LoopVectorize/vect-phiscev-sext-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123541.422616.patch
Type: text/x-patch
Size: 21953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220413/f37562cf/attachment.bin>


More information about the llvm-commits mailing list