[PATCH] D44535: Introduce metadata for avoiding loop predication
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 16 10:31:53 PDT 2018
anna abandoned this revision.
anna added a comment.
Artur had an idea offline that we could use BPI to identify if the latch exit is very rarely taken compared to other exits in the loop. We can teach loop predication to use that information and avoid predication, instead of depending on `llvm.cond.donot_predicate` metadata.
I'm going to abandon this revision for now and get back in case the above idea of using BPI doesn't pan out for some reason.
Repository:
rL LLVM
https://reviews.llvm.org/D44535
More information about the llvm-commits
mailing list