1 ; RUN: opt < %s -S -place-safepoints -enable-new-pm=0 | FileCheck %s
3 define void @test(i32, i8 addrspace(1)* %ptr) gc "statepoint-example" {
5 ; CHECK-NEXT: llvm.memset
8 call void @llvm.memset.p1i8.i64(i8 addrspace(1)* align 8 %ptr, i8 0, i64 24, i1 false)
14 declare void @llvm.memset.p1i8.i64(i8 addrspace(1)*, i8, i64, i1)
16 declare void @do_safepoint()
17 define void @gc.safepoint_poll() {
18 call void @do_safepoint()