+++ /dev/null
-; Verifies that restart trigger forces IPO pipelines restart and the same
-; coroutine is looked at by CoroSplit pass twice.
-; RUN: opt < %s -S -O0 -enable-coroutines -debug-only=coro-split 2>&1 | FileCheck %s
-; RUN: opt < %s -S -O1 -enable-coroutines -debug-only=coro-split 2>&1 | FileCheck %s
-
-; CHECK: CoroSplit: Processing coroutine 'f' state: 0
-; CHECK-NEXT: CoroSplit: Processing coroutine 'f' state: 1
-
-declare i8* @llvm.coro.begin(i8*, i32, i8*, i8*)
-
-; a coroutine start function
-define i8* @f() {
-entry:
- %hdl = call i8* @llvm.coro.begin(i8* null, i32 0, i8* null, i8* null)
- ret i8* %hdl
-}