[Coroutines] Don't run optimizations for optnone functions
Currently we will run two optimization (rematerialization and sink lifetime markers) unconditionally even if the coroutine is marked as optnone (O0). This looks not good. This patch disables these 2 optimizations for optnone functions. An internal change shows the change improve the compilation time for 3% in the debug build.
parent
bfea8376
Please register or sign in to comment