[PATCH] D139832: [IndVars] Support AND/OR in optimizeLoopExitWithUnknownExitCount

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 09:07:19 PST 2023


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1460
+    Value *Curr = Worklist.pop_back_val();
+    // Go through AND/OR conditions. Collect leave ICMPs. We only care about
+    // those with one use, to avoid instruction duplication.
----------------
nit: leaf ICMPs?


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

https://reviews.llvm.org/D139832



More information about the llvm-commits mailing list