[PATCH] D69009: [IndVars] Eliminate loop exits with equivalent exit counts

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 15:06:54 PDT 2019


reames marked an inline comment as done.
reames added inline comments.


================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:2804
+      Changed = true;
+      continue;
+    }
----------------
nikic wrote:
> This code is already repeated three times now, extract?
Not quite.  We're folding the branch either to taken or untaken, but yes, it could be factored out.  Will do, and rebase.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69009/new/

https://reviews.llvm.org/D69009





More information about the llvm-commits mailing list