This is an archive of the discontinued LLVM Phabricator instance.

[NFC][LV][TEST]: extend pr45679-fold-tail-by-masking.ll with a run of -force-vector-width=1 -force-vector-interleave=4
ClosedPublic

Authored by anhtuyen on May 22 2020, 9:11 AM.

Details

Summary

The extension was added to llvm/test/Transforms/LoopVectorize/tail-folding-vectorization-factor-1.ll.
The better place for it should be in its original place i.e. llvm/test/Transforms/LoopVectorize/pr45679-fold-tail-by-masking.ll
This NFC patch is to carry out the above change.

Diff Detail

Event Timeline

anhtuyen created this revision.May 22 2020, 9:11 AM

Hello Ayal @Ayal , when you have some time, can you review this patch to the testcases, please! Thank you very much!

Ayal accepted this revision.Jun 7 2020, 1:07 PM

Looks good to me, thanks for following-up on this suggestion from D79976.

llvm/test/Transforms/LoopVectorize/pr45679-fold-tail-by-masking.ll
4

nit: CHECK-VF1 may be renamed VF1UF4

This revision is now accepted and ready to land.Jun 7 2020, 1:07 PM
anhtuyen updated this revision to Diff 269083.Jun 7 2020, 4:50 PM

Thank you very much Ayal for your suggestion. I adjusted the file accordingly.

This revision was automatically updated to reflect the committed changes.