[Coroutine] Improve coro-elide-musttail.ll test
authorXun Li <lxfind@gmail.com>
Sat, 23 Jan 2021 04:23:30 +0000 (20:23 -0800)
committerXun Li <lxfind@gmail.com>
Sat, 23 Jan 2021 04:23:48 +0000 (20:23 -0800)
commit6c43564530365ac2c074d7515d4eada294d4ca0c
treed0544a836f0d9129412632fe45e0da61532b2699
parent147c0c263d88a9702aba17fbeac62ff83e6c1319
[Coroutine] Improve coro-elide-musttail.ll test

The test wasn't sensitive to alias analysis. As you can seen from D95117 when AA is added by default this is affected.
Updating the test so that it coveres both cases for AA analysis.
Note that this patch depends on D95117 to land first.

Differential Revision: https://reviews.llvm.org/D95247
llvm/test/Transforms/Coroutines/coro-elide-musttail.ll