[PATCH] D69059: [SVE][AArch64] Adding patterns for while intrinsics

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 17:49:07 PST 2019


efriedma added a comment.

If you look at SVE loop examples from ARM, they generally have a branch using the flags set by something like a whilelt; we should allow the user to replicate that somehow.  I was thinking you could make them part of the return value, somehow, so the intrinsic returns two values.  Maybe the whole value, or maybe just a boolean for some common use we expect; haven't really thought that part through.

Maybe that's not a good idea, though?  I guess we could let the user write a regular cmp, and have a pass detect that it's redundant, somehow.  Or maybe there's some other similar approach I haven't considered.


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

https://reviews.llvm.org/D69059





More information about the llvm-commits mailing list