1 ; RUN: opt -S -passes=place-safepoints < %s | FileCheck %s
5 define void @test() gc "statepoint-example" {
9 ; CHECK: call void @do_safepoint()
14 call void @callee() "gc-leaf-function"
15 ; CHECK: call void @do_safepoint()
19 declare void @do_safepoint()
20 define void @gc.safepoint_poll() {
21 call void @do_safepoint()