[PATCH] D115790: [Coroutines] Run CoroEarly Pass in front of AlwaysInliner in O0 pass and warn for always_inline coroutine

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 15 22:24:07 PST 2021


rjmccall requested changes to this revision.
rjmccall added a comment.
This revision now requires changes to proceed.

I don't find it at all weird to say that there's an invariant that certain intrinsics can only appear in functions with a particular attribute, and so the frontend has a responsibility to set the attribute if it's using that intrinsic.  We do the same thing with several other intrinsics, such as the constrained FP intrinsics generated for `#pragma fenv_access`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115790



More information about the cfe-commits mailing list