[PATCH] D63733: [IndVars] Use exit count reasoning to discharge obviously untaken exits

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 15:45:49 PDT 2019


reames marked 4 inline comments as done.
reames added inline comments.


================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:2717
+        DeadInsts.push_back(OldCond);
+      Changed = true;
+      continue;
----------------
jdoerfert wrote:
> Same (non-trivial) code as above, could we extract it somehow?
Seems like a reasonable suggestion.  I'll explore options for a helper function in a follow on commit.  We have this same pattern in a few other places as well.  


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

https://reviews.llvm.org/D63733





More information about the llvm-commits mailing list