[PATCH] D101044: [NFC][DSE]Change 'do-while' to 'for' loop to simplify code structure

Evgeniy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 29 01:21:13 PDT 2021


ebrevnov marked 2 inline comments as done.
ebrevnov added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:1411
         }
-        continue;
+        break;
       } else {
----------------
fhahn wrote:
> perhaps it would be simpler to just have the break as last statement of the loop?
Good suggestion. Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101044



More information about the llvm-commits mailing list