summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll b/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll
index 698f295f5f9..ad2442369b8 100644
--- a/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll
+++ b/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll
@@ -1,5 +1,7 @@
; RUN: opt -S -place-safepoints < %s | FileCheck %s
+declare void @callee()
+
define void @test() gc "statepoint-example" {
; CHECK-LABEL: test(
entry:
@@ -9,7 +11,7 @@ entry:
other:
; CHECK: other:
- call void undef() "gc-leaf-function"
+ call void @callee() "gc-leaf-function"
; CHECK: call void @do_safepoint()
br label %other
}
OpenPOWER on IntegriCloud