[PATCH] D109432: [LoopVectorize] Permit fixed-width epilogue loops for scalable vector bodies

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 1 03:56:24 PDT 2021


david-arm marked 2 inline comments as done.
david-arm added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect.ll:42
+; CHECK:       vec.epilog.vector.body:
+; CHECK:         store <8 x i8>
+; CHECK:       for.body:
----------------
sdesmalen wrote:
> Can you add a few more check lines here? e.g. I'm not sure if the interleaving is disabled for the epilogue loop (if not, then it would need a check for a second store), or if this is actually a loop with a back-edge to vec.epilog.vector.body, and what the increment would be. I assume it's `8` given `<8 x i8>`, but it would be good to have a CHECK line for it.
Given the structure is much more complicated with epilogues with the extra checks and so on, I decided it's easiest just to autogenerate the CHECK lines with utils/update_test_checks.py! It's probably useful to show the whole control flow anyway for at least one test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109432/new/

https://reviews.llvm.org/D109432



More information about the llvm-commits mailing list