[PATCH] D137547: [AArch64][SVE] Use PTRUE instruction for get_active_lane_mask intrinsic if the range is from 0 to SVE predicator constant
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 7 08:50:31 PST 2022
paulwalker-arm added a comment.
This transformation is more subtle than you expect. See https://developer.arm.com/documentation/ddi0602/2022-09/SVE-Instructions/PTRUE--predicate---Initialise-predicate-from-named-constraint-, specifically the part that reads `If the constraint specifies more elements than are available at the current vector length then all elements of the destination predicate are set to false.`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137547/new/
https://reviews.llvm.org/D137547
More information about the llvm-commits
mailing list