The debug info metadata is unnecessary.
Instead of trying to replicate the -O0 pipeline, just call it.
Use -passes instead of -enable-new-pm.
Remove some unnecessary attributes.
This makes the test pass when -enable-new-pm is on by default.
Paths
| Differential D93252
[test] Simplify coro-inline.ll AbandonedPublic Authored by aeubanks on Dec 14 2020, 2:59 PM.
Details
Summary The debug info metadata is unnecessary. This makes the test pass when -enable-new-pm is on by default.
Diff Detail
Event Timeline
Revision Contents
Diff 311723 llvm/test/Transforms/Coroutines/coro-inline.ll |
if removing debug info, sample profile might not be found function(@ff) that should be inlined in SampleProfileLoader