Cleanup coro-inline.ll
authorXun Li <lxfind@gmail.com>
Fri, 18 Dec 2020 16:05:04 +0000 (08:05 -0800)
committerXun Li <lxfind@gmail.com>
Fri, 18 Dec 2020 16:05:04 +0000 (08:05 -0800)
commit4652718ee38c519c6bb9470758d07430b0de02dd
treeb1cc2684bf94a488ba3520620bf4fea2041a7f21
parentfd0f5fb8de26230cbb0eeedaef58036ddede4c63
Cleanup coro-inline.ll

Following up with the comments in D92706.
- Use -passes instead of -enable-new-pm
- CoroEarly should happen before AlwaysInliner, adjust it.
- Remove some unnecessary barriers (still kept one)
- Cleanup unnecessary debug info

Differential Revision: https://reviews.llvm.org/D93342
llvm/test/Transforms/Coroutines/coro-inline.ll