diff options
author | Sergey Kachkov <sergey.kachkov@syntacore.com> | 2023-01-13 11:21:55 +0300 |
---|---|---|
committer | Sergey Kachkov <sergey.kachkov@syntacore.com> | 2023-01-13 12:24:47 +0300 |
commit | fc9b92e14f8836e7b330f094d4b8af732cc59450 (patch) | |
tree | d7ba71bb921bd9d105cc089972cdc244e9a7382d /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | f61f42b9d63d3e6b1c8f45e68a31d467f3627f75 (diff) | |
download | llvm-fc9b92e14f8836e7b330f094d4b8af732cc59450.zip llvm-fc9b92e14f8836e7b330f094d4b8af732cc59450.tar.gz llvm-fc9b92e14f8836e7b330f094d4b8af732cc59450.tar.bz2 |
[GVN][NFC] Refactor GVN::AnalyzeLoadAvailability method
Simplify AnalyzeLoadAvailability code:
1. Use std::optional for return value
2. Use range-based loop for non-local dependencies
Differential Revision: https://reviews.llvm.org/D141664
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions