[PATCH] D95039: [SVE] Add support for scalable vectorization of loops with selects and cmps

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 05:56:52 PST 2021


david-arm added inline comments.


================
Comment at: llvm/test/Analysis/CostModel/sve-cmpsel.ll:9
+; Check icmp for a legal integer vector.
+define <vscale x 4 x i1> @cmp_nxv4i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {
+; CHECK-LABEL: 'cmp_nxv4i32'
----------------
Here I've deliberately tried to avoid an explosion of test cases, so for the legal and illegal variants I used different element types.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95039



More information about the llvm-commits mailing list