The name CountRoundDown is potentially misleading, as the number of
iterations can be rounded up when folding the tail.
Details
Details
- Reviewers
fhahn Ayal - Commits
- rG24a133e16fc5: [LV] Rename CountRoundDown to VectorTripCount (NFC)
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for the patch and sorry for the delay. It's common practice to 'ping' a patch regularly (curtesy ping period is roughly every 7 days), otherwise it is very easy for patches to fall through the cracks.
The renaming makes sense to me and makes the code more consistent as a whole, as VectorTripCount is used elsewhere for the same thing already. Please move the changes unrelated to the renaming to a separate patch.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | ||
---|---|---|
3338 | Can you limit this patch to *only* adjust CountRoundDown -> VectorTripCount? And mov eat either refactoring changes to a separate patch? |
Can you limit this patch to *only* adjust CountRoundDown -> VectorTripCount? And mov eat either refactoring changes to a separate patch?