[PATCH] D105877: [Coroutines] Run coroutine passes by default

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 3 13:41:15 PDT 2021


aeubanks added a comment.

it's probably because we're constructing the call graph every time at -O0

we want to skip all of that if there are no coroutine intrinsics in the module. we can't really express that currently. if we'd want to do something like that, we'd need a wrapper around the passes which checks for the existence of those intrinsics before running the passes, including the CGSCC adaptor


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105877/new/

https://reviews.llvm.org/D105877



More information about the cfe-commits mailing list