[PATCH] D113973: [LoopVectorize][CostModel] Choose smaller VFs for in-loop reductions with no loads/stores

Rosie Sumpter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 06:44:54 PST 2021


RosieSumpter updated this revision to Diff 395119.
RosieSumpter added a comment.

- Replaced SmallPtrSet `CastInstsToRecurrenceType` with unsigned `MinWidthCastToRecurrenceType` (there could possibly be a shorter name for this!)
- Added 2 test cases to `smallest-and-widest-types.ll`


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

https://reviews.llvm.org/D113973

Files:
  llvm/include/llvm/Analysis/IVDescriptors.h
  llvm/lib/Analysis/IVDescriptors.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/smallest-and-widest-types.ll
  llvm/test/Transforms/LoopVectorize/X86/funclet.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113973.395119.patch
Type: text/x-patch
Size: 12077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211217/98504331/attachment.bin>


More information about the llvm-commits mailing list