[LV][VPlan] Fix printing TripCount liveins. NFC
authorDavid Green <david.green@arm.com>
Mon, 13 Mar 2023 19:44:12 +0000 (19:44 +0000)
committerDavid Green <david.green@arm.com>
Mon, 13 Mar 2023 19:44:12 +0000 (19:44 +0000)
commit98481bc723c84c339da40a8e4c70bd7a55e8a840
tree830fd0aed26d5cfe6936f65924020a45631b5985
parent33fbbf88afe55aaf9b94747074c58f442f37fa00
[LV][VPlan] Fix printing TripCount liveins. NFC

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. It also makes a minor adjustment to
printing of Live-ins to reduce the empty lines when multiple Live-ins are
present.

Differential Revision: https://reviews.llvm.org/D145507
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