[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
       
    Tue Feb 14 07:20:34 PST 2023
    
    
  
Mel-Chen updated this revision to Diff 497320.
Mel-Chen added a comment.
Changes:
- Remove function `createInductionSelectCmpTargetReduction`
- Add function `createSentinelValueHandling`
- Fix the start value of SelectCmp and MinMaxIdx
And then I don't know why all FIXME has been fixed, will confirm.
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.497320.patch
Type: text/x-patch
Size: 200012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230214/5caa10d5/attachment-0001.bin>
    
    
More information about the llvm-commits
mailing list