[PATCH] D149993: [SLP][NFC] Cleanup: Separate vectorization of Inserts and CmpInsts.

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 12:29:16 PDT 2023


vporpo updated this revision to Diff 520463.
vporpo added a comment.

Using `CmpInst *` instead of `Instruction *` in the loops of `vectorizeCmpInsts()`. This makes it a bit more explicit that we are expecting a range of `CmpInst *`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149993

Files:
  llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149993.520463.patch
Type: text/x-patch
Size: 7767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/01a84780/attachment.bin>


More information about the llvm-commits mailing list