Revert "[Coroutines] Set presplit attribute in Clang instead of CoroEarly pass"
authorXun Li <lxfind@gmail.com>
Mon, 19 Apr 2021 00:20:02 +0000 (17:20 -0700)
committerXun Li <lxfind@gmail.com>
Mon, 19 Apr 2021 00:22:28 +0000 (17:22 -0700)
commit5faba87938779c595f2b4e40f933bae6571bc421
tree9525de1aef3496f66bc525e4dcdc5334dd8e2a32
parent5e7367d3e44424c058cc8d891dac0a0088586329
Revert "[Coroutines] Set presplit attribute in Clang instead of CoroEarly pass"

This reverts commit fa6b54c44ab1d5f579304eadb7ac8bd7e72d0e77.
The commited patch broke mlir tests. It seems that mlir tests depend on coroutine function properties set in CoroEarly pass.
16 files changed:
clang/lib/CodeGen/CGCoroutine.cpp
clang/test/CodeGenCoroutines/coro-always-inline-resume.cpp [deleted file]
clang/test/CodeGenCoroutines/coro-always-inline.cpp
llvm/lib/Transforms/Coroutines/CoroEarly.cpp
llvm/test/Transforms/Coroutines/coro-debug-O2.ll
llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
llvm/test/Transforms/Coroutines/coro-split-01.ll
llvm/test/Transforms/Coroutines/coro-split-recursive.ll
llvm/test/Transforms/Coroutines/ex0.ll
llvm/test/Transforms/Coroutines/ex1.ll
llvm/test/Transforms/Coroutines/ex2.ll
llvm/test/Transforms/Coroutines/ex3.ll
llvm/test/Transforms/Coroutines/ex4.ll
llvm/test/Transforms/Coroutines/ex5.ll
llvm/test/Transforms/Coroutines/phi-coro-end.ll
llvm/test/Transforms/Coroutines/restart-trigger.ll