[PATCH] D82895: [NFC][LoopInfo] Document empty()
Stefanos Baziotis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 11:24:46 PDT 2020
baziotis added a comment.
I created the review instead of just committing to discuss that it may be a good idea to even rename this e.g. to "isInnermost()".
With "empty()", it's not clear if the implementation is:
`return getSubLoops().empty()` or `return !getNumBlocks()` (or something else)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82895/new/
https://reviews.llvm.org/D82895
More information about the llvm-commits
mailing list