brintos

brintos / llvm-project-archived public Read only

0
0
Text · 470 B · 94fe539 Raw
15 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 52; Tests that coro-split correctly invalidate bad coroutines3; RUN: opt < %s -passes='cgscc(coro-split)' -S | FileCheck %s4 5define void @pr156444() presplitcoroutine {6; CHECK-LABEL: define void @pr156444(7; CHECK-SAME: ) #[[ATTR0:[0-9]+]] {8; CHECK-NEXT:  [[ENTRY:.*:]]9; CHECK-NEXT:    ret void10;11entry:12  %0 = call i8 @llvm.coro.suspend(token none, i1 false)13  ret void14}15