[VPlan] NFC: Change VFRange to take ElementCount
authorSander de Smalen <sander.desmalen@arm.com>
Fri, 6 Nov 2020 09:03:23 +0000 (09:03 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Fri, 6 Nov 2020 09:50:20 +0000 (09:50 +0000)
commit4a3bb9ea6c0da96053c83561340d3c55a889324a
tree709c5dda6384f84942c48e59f15c43f8473b63a3
parent0c782c214b56102161c03ec5657455b7c73a5722
[VPlan] NFC: Change VFRange to take ElementCount

This patch changes the type of Start, End in VFRange to be an ElementCount
instead of `unsigned`. This is done as preparation to make VPlans for
scalable vectors, but is otherwise NFC.

Reviewed By: dmgreen, fhahn, vkmr

Differential Revision: https://reviews.llvm.org/D90715
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.h