[PATCH] D100706: [LICM] Make capture check more precise
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 19 09:36:47 PDT 2021
reames accepted this revision.
reames added a comment.
This revision is now accepted and ready to land.
LGTM w/one suggested comment.
================
Comment at: llvm/lib/Transforms/Scalar/LICM.cpp:1957
+bool isNotCapturedBeforeOrInLoop(const Value *V, const Loop *L,
+ DominatorTree *DT) {
----------------
I'd suggest inlining this helper into it's sole caller and simply updating the existing block comment. (Optional.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100706/new/
https://reviews.llvm.org/D100706
More information about the llvm-commits
mailing list