[PATCH] D137547: [AArch64][SVE] Use PTRUE instruction for get_active_lane_mask intrinsic if the range is from 0 to SVE predicator constant

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 08:34:52 PST 2022


peterwaller-arm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/active_lane_mask.ll:486
+  ret <vscale x 4 x i1> %active.lane.mask
+}
 
----------------
Please can you add a test which shows what happens when the %n parameter of active.lane.mask goes out of the range that can be represented as a ptrue immediate. I expect this should fall back to the old codegen?


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

https://reviews.llvm.org/D137547



More information about the llvm-commits mailing list