aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorEvgeniy Brevnov <ybrevnov@azul.com>2021-07-02 09:59:06 +0700
committerEvgeniy Brevnov <ybrevnov@azul.com>2021-07-02 10:00:47 +0700
commit9568811cb8a4c45e8143456b91dd7cc1acb16ad3 (patch)
tree4cdfa03e73c2ac92996a909dab8728724c53f892 /llvm/lib/CodeGen/MachineOperand.cpp
parent5efffac71a1c640b0cba8e34f5e2374d397f6eb3 (diff)
downloadllvm-9568811cb8a4c45e8143456b91dd7cc1acb16ad3.zip
llvm-9568811cb8a4c45e8143456b91dd7cc1acb16ad3.tar.gz
llvm-9568811cb8a4c45e8143456b91dd7cc1acb16ad3.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions