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 D93342
Cleanup coro-inline.ll Authored by lxfind on Dec 15 2020, 2:45 PM.
Details
Following up with the comments in D92706.
Diff Detail
Event Timeline
Comment Actions Update test. A few things: 1) we don't need and shouldn't add --coro-early. Both functions are already marked with coroutine.presplit=1, ready for CoroSplit. coro-early will actually mess it up. 2) It turns out we need the meta data and dbg info since SampleProfileLoader depends on it. 3) We don't need all the attributes. Removed the unused ones. | |||||||||||||||||||||||||||||||||||
always-inline should called before coro-early i think ???