[PATCH] D68956: [IndVars] Fix a miscompile in off-by-default loop predication implementation

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 15:28:23 PDT 2019


xbolva00 added inline comments.


================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:2829
+  // after all exit[i] such j > i.
+  for (unsigned i = 0; i < ExitingBlocks.size(); i++)
+    if (BadExit(ExitingBlocks[i])) {
----------------
e = ExitingBlocks.size()

i < e


Repository:
  rL LLVM

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

https://reviews.llvm.org/D68956





More information about the llvm-commits mailing list