[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
commitd5032b9f4b6aa415e7fd39701f29edb93028d8b3
authorTyler Nowicki <tyler.nowicki@amd.com>
Wed, 20 Nov 2024 18:34:59 +0000 (20 13:34 -0500)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 18:34:59 +0000 (20 13:34 -0500)
tree298d9ad241c0862d74426f51392b97876baf6800
parent2c63e6d94261d6c9d045523f37f350f9e60ed35b
[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)

Avoid repeated calls to value() and index() using structured binding
with llvm::enumerate.
llvm/lib/Transforms/Coroutines/CoroSplit.cpp