[PATCH] D103189: [SCEV] Compute trip multiple for multiple exit loops
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 26 11:41:33 PDT 2021
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:6988
+ return 1;
+ return *Res;
}
----------------
Could be written as `return Res.getValueOr(1)`. Feel free to keep it keep as-is though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103189/new/
https://reviews.llvm.org/D103189
More information about the llvm-commits
mailing list