Revert "[IR] Use range-based for loops (NFC)"
This reverts commit e8512786. This revert is done because llvm::drop_begin over an empty ArrayRef doesn't return an empty range, and therefore can lead to an invalid address returned instead. See discussion in https://github.com/llvm/llvm-project/pull/80737 for more context.
parent
a7bc9cb6
Please register or sign in to comment