aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2025-06-03 09:14:04 -0700
committerGitHub <noreply@github.com>2025-06-03 09:14:04 -0700
commitb9dec5aa793fbdb3b5db6b240f28bd18f13dbc9e (patch)
tree2c1ebd221566d58a48ef9773229302054aadde37 /llvm/lib/Bitcode
parentb40e4ceaa61c5f14ca261e2952e7f85a066403e2 (diff)
downloadllvm-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')
0 files changed, 0 insertions, 0 deletions