llvm.org GIT mirror llvm / 1874db9
[PlaceSafepoints] Don't call undef in test case; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273764 91177308-0d34-0410-b5e6-96231b3b80d8 Sanjoy Das 3 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: opt -S -place-safepoints < %s | FileCheck %s
1
2 declare void @callee()
13
24 define void @test() gc "statepoint-example" {
35 ; CHECK-LABEL: test(
810
911 other:
1012 ; CHECK: other:
11 call void undef() "gc-leaf-function"
13 call void @callee() "gc-leaf-function"
1214 ; CHECK: call void @do_safepoint()
1315 br label %other
1416 }