[PATCH] D143465: [LoopVectorize] Vectorize the reduction pattern of integer min/max with index. (WIP)

Mel Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 03:24:22 PST 2023


Mel-Chen updated this revision to Diff 497615.
Mel-Chen added a subscriber: test.
Mel-Chen added a comment.

Changes:

- Confirm the operands of intrinsic and cmp. Fixed @test case smax_idx_not_vec_1.
- Format code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143465

Files:
  llvm/include/llvm/Analysis/IVDescriptors.h
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/lib/Analysis/IVDescriptors.cpp
  llvm/lib/Transforms/Utils/LoopUtils.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
  llvm/test/Transforms/LoopVectorize/select-min-index.ll
  llvm/test/Transforms/LoopVectorize/smax-idx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143465.497615.patch
Type: text/x-patch
Size: 181546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230215/a00b38a3/attachment-0001.bin>


More information about the llvm-commits mailing list