[PATCH] D87344: [IndVars] Remove exiting conditions that are trivially true/false

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 21:07:16 PDT 2020


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:2342
+    return false;
+
+  if (Inverted)
----------------
Should invert if false succ is the loop block.


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

https://reviews.llvm.org/D87344



More information about the llvm-commits mailing list