[PATCH] D154240: [LV] Update generateInstruction to return produced value (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 10:48:25 PDT 2023


fhahn created this revision.
fhahn added reviewers: gilr, rengolin, Ayal.
Herald added subscribers: artagnon, StephenFan, rogfer01, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a subscriber: vkmr.
Herald added a project: LLVM.

Update generateInstruction to return the produced value instead of
setting it for each opcode. This reduces the amount of duplicated code
and is a preparation for D153696 <https://reviews.llvm.org/D153696>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154240

Files:
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154240.536320.patch
Type: text/x-patch
Size: 7266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/53f7cbcc/attachment.bin>


More information about the llvm-commits mailing list