As discussed in D94834, we don't really need to do complicated analysis. It's safe to just drop the tail call attribute.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D96926
[Coroutine] Relax CoroElide musttail check ClosedPublic Authored by lxfind on Feb 17 2021, 7:13 PM.
Details
Summary As discussed in D94834, we don't really need to do complicated analysis. It's safe to just drop the tail call attribute.
Diff Detail
Event TimelineHerald added subscribers: hoy, modimo, wenlei, hiraditya. · View Herald TranscriptFeb 17 2021, 7:13 PM Comment Actions
Thanks. Can you accept? Comment Actions
Sorry. I forgot this. This revision is now accepted and ready to land.Feb 18 2021, 5:43 PM This revision was landed with ongoing or failed builds.Feb 18 2021, 7:36 PM Closed by commit rG3bf8f162a0a9: [Coroutine] Relax CoroElide musttail check (authored by lxfind). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 324854 llvm/lib/Transforms/Coroutines/CoroElide.cpp
llvm/test/Transforms/Coroutines/coro-elide-musttail.ll
|