[PATCH] D52154: [LoopInterchange] Preserve LCSSA.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 26 12:12:44 PDT 2018
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Transforms/Scalar/LoopInterchange.cpp:1355
+ auto *Usr = cast<Instruction>(U.getUser());
+ if (Usr && Usr->getParent() != InnerExit) {
+ hasUsersOutside = true;
----------------
Usr is always non-null.
https://reviews.llvm.org/D52154
More information about the llvm-commits
mailing list