[PATCH] D37093: [coroutines] Promote cleanup.dest.slot-like allocas to registers to avoid storing them in the coroutine frame

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 09:48:32 PDT 2017


majnemer added a comment.

Seems fragile. What if we run optimizations and transform the IR to another, different, version of the IR but the alloca is not promotable anymore? On occasion, the compiler can pessimize a code sequence and coroutine lowering should be resilient to such things.


https://reviews.llvm.org/D37093





More information about the llvm-commits mailing list