[PATCH] D149465: [NFC][SLP] Cleanup: Replace Value* operand with Instruction* in `vectorizeRootInstruction()` and `vectorizeHorReduction()`
Vasileios Porpodas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 10:04:14 PDT 2023
vporpo created this revision.
vporpo added reviewers: ABataev, RKSimon.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vporpo requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.
This makes it explicit that these functions work with instructions, and avoids
calling them if the operand is not an instruction.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149465
Files:
llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149465.517975.patch
Type: text/x-patch
Size: 6753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230428/cb0d184c/attachment.bin>
More information about the llvm-commits
mailing list