Skip to content
Commit 44ee9d07 authored by Fangrui Song's avatar Fangrui Song
Browse files

Revert D85812 "[coroutine] should disable inline before calling coro split"

This reverts commit 2e43acfe.

LLVMCoroutines (the library which contains Coroutines.h) depends on LLVMipo (the
library which contains SampleProfile.cpp). It is inappropriate for
SampleProfile.cpp to depent on Coroutines.h (circular dependency).

The test inverted dependencies as well:
llvm/test/Transforms/Coroutines/coro-inline.ll uses -sample-profile.
parent 75e6f0b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment