[PATCH] D82895: [NFC][LoopInfo] Document empty()

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 13:31:07 PDT 2020


jdoerfert added subscribers: etiotto, Whitney.
jdoerfert added a comment.

> I think that isInnermost() would make even more sense.

I'm fine with adding `bool isInnermost() const { return empty(); }` and while we are at it, `bool isOutermost()`.

@fhahn @Meinersbur @Whitney @etiotto Objections?


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

https://reviews.llvm.org/D82895





More information about the llvm-commits mailing list