[PATCH] D145507: [LV][VPlan] Fix printing TripCount liveins. NFC

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 07:32:19 PST 2023


dmgreen created this revision.
dmgreen added reviewers: fhahn, david-arm, sdesmalen, bmahjour, SjoerdMeijer, Ayal.
Herald added subscribers: StephenFan, tschuett, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added subscribers: pcwang-thead, vkmr.
Herald added a project: LLVM.

The TripCount liveins would currently be printed as badref in the vplan as they are not allocated slots in the VPSlotTracker. This patch allocates them a slot and adds them to the printed Live-Ins when printing the vplan. It also makes a minor adjustment to printing of Live-ins to reduce the empty lines when multiple Live-ins are present.


https://reviews.llvm.org/D145507

Files:
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
  llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
  llvm/test/Transforms/LoopVectorize/icmp-uniforms.ll
  llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145507.503036.patch
Type: text/x-patch
Size: 9254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230307/1835c595/attachment.bin>


More information about the llvm-commits mailing list