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

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 05:17:32 PST 2020


samparker added inline comments.


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


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

https://reviews.llvm.org/D74394





More information about the llvm-commits mailing list