[PATCH] D122200: [AMDGPU] Split waterfall loop exec manipulation
Carl Ritson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 19:00:12 PDT 2022
critson added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp:337-339
+ for (auto MBBI = LoopHeader->getIterator(),
+ MBBE = std::next(LoopEnd->getIterator());
+ MBBI != MBBE; ++MBBI) {
----------------
arsenm wrote:
> I've thought about adding some kind of iterator which would automatically cross fallthrough blocks
I can certainly see it being useful in a few places.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122200/new/
https://reviews.llvm.org/D122200
More information about the llvm-commits
mailing list