[all-commits] [llvm/llvm-project] 956881: [NFC][DSE]Change 'do-while' to 'for' loop to simpl...
ebrevnov via All-commits
all-commits at lists.llvm.org
Thu Jul 1 20:01:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9568811cb8a4c45e8143456b91dd7cc1acb16ad3
https://github.com/llvm/llvm-project/commit/9568811cb8a4c45e8143456b91dd7cc1acb16ad3
Author: Evgeniy Brevnov <ybrevnov at azul.com>
Date: 2021-07-02 (Fri, 02 Jul 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Log Message:
-----------
[NFC][DSE]Change 'do-while' to 'for' loop to simplify code structure
With 'for' loop there is is a single place where 'Current' is adjusted. It helps to avoid copy paste and makes a bit easy to understand overall loop controll flow.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D101044
More information about the All-commits
mailing list