[all-commits] [llvm/llvm-project] ba623e: [NFC][Coroutines] Remove integer indexing in sever...
Tyler Nowicki via All-commits
all-commits at lists.llvm.org
Thu Nov 14 14:52:08 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba623e10b4064c410a1b79280ec7fb963463eb29
https://github.com/llvm/llvm-project/commit/ba623e10b4064c410a1b79280ec7fb963463eb29
Author: Tyler Nowicki <tyler.nowicki at amd.com>
Date: 2024-11-14 (Thu, 14 Nov 2024)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
Log Message:
-----------
[NFC][Coroutines] Remove integer indexing in several CoroSplit loops (#115954)
Use helpers such as llvm::enumerate and llvm::zip in places to avoid
using loop counters. Also refactored AnyRetconABI::splitCoroutine to
avoid some awkward indexing that came about by putting ContinuationPhi
into the ReturnPHIs vector and mistaking i with I and e with E.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list