[PATCH] D62132: [RFC] Intrinsics for Hardware Loops

Markus Lavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 00:39:07 PDT 2019


markus added a comment.

This is interesting. Our (Ericsson's) out-of-tree target has hardware loops and we currently do a similar thing i.e.

1. Use SCEV on IR to determine trip count and insert a hint intrinsic.
2. Iselect the hint 1:1.
3. Custom machine function pass picks it up and inserts a hardware loop instruction if sufficient conditions are satisfied.

So that said we would be happy to see generic support upstream and would likely convert to that once available.


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

https://reviews.llvm.org/D62132





More information about the llvm-commits mailing list