[PATCH] D94712: Do not traverse ConstantData use-list in LookInterchange
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 12:04:31 PST 2021
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopInterchange.cpp:664
static PHINode *findInnerReductionPhi(Loop *L, Value *V) {
+ if (isa<Constant>(V))
+ return nullptr;
----------------
Could you add a comment with the reasoning for the early exit here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94712/new/
https://reviews.llvm.org/D94712
More information about the llvm-commits
mailing list