Coroutine elision not applied

>> Ariya Shajii via llvm-dev llvm-dev at lists.llvm.org

*>> *case where a seemingly irrelevant IR change prevents elision optimization.
>>> Any insight into why this happens would be greatly appreciated. I'm using
>>> LLVM 7.0.1.
It could be this bug: [https://bugs.llvm.org/show_bug.cgi?id=40656](https://bugs.llvm.org/show_bug.cgi?id=40656)  .