Mercurial > hg > CbC > CbC_llvm
view llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll @ 201:a96fbbdf2d0f
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 04 Jun 2021 21:07:06 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
; RUN: opt -S -place-safepoints < %s | FileCheck %s declare void @callee() define void @test() gc "statepoint-example" { ; CHECK-LABEL: test( entry: ; CHECK: entry: ; CHECK: call void @do_safepoint() br label %other other: ; CHECK: other: call void @callee() "gc-leaf-function" ; CHECK: call void @do_safepoint() br label %other } declare void @do_safepoint() define void @gc.safepoint_poll() { call void @do_safepoint() ret void }