[PATCH] D74394: [ARM][MVE] Tail-Predication: recognise (again) active lanes IR pattern

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 06:55:48 PST 2020


SjoerdMeijer marked an inline comment as done.
SjoerdMeijer added a comment.

>   if you can add a comment too.

thanks, will do



================
Comment at: llvm/test/CodeGen/Thumb2/LowOverheadLoops/basic-tail-pred.ll:88
   %broadcast.splat = shufflevector <8 x i32> %broadcast.splatinsert, <8 x i32> undef, <8 x i32> zeroinitializer
   %induction = add <8 x i32> %broadcast.splat, <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
   %tmp = getelementptr inbounds i16, i16* %a, i32 %index
----------------
> Does this mean we're no longer directly testing the 'add' form?

We are testing both, there's one here for example, and I alternated the test here using 'and' and 'or'


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

https://reviews.llvm.org/D74394





More information about the llvm-commits mailing list