1 ; If there's a call in the loop which dominates the backedge, we
2 ; don't need a safepoint poll (since the callee must contain a
4 ;; RUN: opt < %s -place-safepoints -S -enable-new-pm=0 | FileCheck %s
8 define void @test1() gc "statepoint-example" {
13 ; CHECK: call void @do_safepoint
18 ; CHECK-NOT: call void @do_safepoint
23 ; This function is inlined when inserting a poll.
24 declare void @do_safepoint()
25 define void @gc.safepoint_poll() {
26 ; CHECK-LABEL: gc.safepoint_poll
28 call void @do_safepoint()