[PATCH] D79100: [LV][TTI] Emit new IR intrinsic llvm.get.active.mask for tail-folded loops

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 08:41:50 PDT 2020


SjoerdMeijer added a comment.

In D79100#2044165 <https://reviews.llvm.org/D79100#2044165>, @lebedev.ri wrote:

> Semantics are still unspecified. Before adding even more intrinsics,
>  i'd strongly suggest to specify at least the already-committed ones.
>  Because as far as i can tell, i don't see anything in langref for any of them.


This was intentional. With the already-committed ones you mean the hardware loops ones, and they are not meant to be user-facing intrinsics. That is, we don't expect user to play around with e.g. the hwloop.decrement intrinsic; at least these are really meant to be generated by the optimisers.
This new intrinsic here is slightly different, in that it probably is useful as a user facing intrinsic, so don't mind documenting it.


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

https://reviews.llvm.org/D79100





More information about the llvm-commits mailing list