[PATCH] D90920: [IndVars] IV user should not prevent use widening
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 06:29:55 PST 2020
fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.
LGTM thanks.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyIndVar.cpp:1573
for (Use &U : NarrowUse->uses()) {
+ if (U.getUser() == NarrowDef)
+ continue;
----------------
nit: maybe add the same comment as below?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90920/new/
https://reviews.llvm.org/D90920
More information about the llvm-commits
mailing list