[llvm] [MC] Optimize loops in MC. (PR #98114)
Dmitriy Chestnykh via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 00:35:12 PDT 2024
chestnykh wrote:
> Can't some/all of these be range based for loops instead?
Is range based loop preferable?
> Can't some/all of these be range based for loops instead?
I left comments where the loop can be transformed into range-based. Other loops use iterator in their body so i think we can leave them without changes.
https://github.com/llvm/llvm-project/pull/98114
More information about the llvm-commits
mailing list