diff options
author | Vitaly Buka <vitalybuka@google.com> | 2025-06-03 09:14:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 09:14:04 -0700 |
commit | b9dec5aa793fbdb3b5db6b240f28bd18f13dbc9e (patch) | |
tree | 2c1ebd221566d58a48ef9773229302054aadde37 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
parent | b40e4ceaa61c5f14ca261e2952e7f85a066403e2 (diff) | |
download | llvm-b9dec5aa793fbdb3b5db6b240f28bd18f13dbc9e.zip llvm-b9dec5aa793fbdb3b5db6b240f28bd18f13dbc9e.tar.gz llvm-b9dec5aa793fbdb3b5db6b240f28bd18f13dbc9e.tar.bz2 |
[NFC] Remove goto in PromoteMem2Reg::RenamePass (#142454)
'goto' is essentially a shortcut for push/pop for worklist.
It can be expensive if we copy vectors, but if we move them, it
should not be an issue.
Without 'goto' it's easier to reason about the
code, when `PromoteMem2Reg::RenamePass` processes
exactly one edge at a time.
There is out of order processing of the first
successor, I keep it just to make this patch pure NFC. I'll
remove this in follow up patches.
For #142461
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions