[PATCH] D97143: [VPlan] Support to widen call and select intructions in VPlan native path

Mauri Mustonen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 21 06:50:15 PST 2021


Kazhuu updated this revision to Diff 325294.
Kazhuu added a comment.

Add support to widen call and select instructions in VPlan native path by using correct recipes when such instruction is encountered. This is already used by inner loop vectorizer. I modified my previously committed VPlan test to also test for the call instruction widening.

Previously call and select instructions get handled by the wrong recipe and resulted in unreachable instruction errors like this one: https://bugs.llvm.org/show_bug.cgi?id=48139.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97143

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
  llvm/lib/Transforms/Vectorize/VPlanTransforms.h
  llvm/test/Transforms/LoopVectorize/vplan-vectorize-inner-loop-reduction.ll
  llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
  llvm/unittests/Transforms/Vectorize/VPlanTestBase.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97143.325294.patch
Type: text/x-patch
Size: 10750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210221/2a7b3ebc/attachment.bin>


More information about the llvm-commits mailing list