From 1874db9575900d8a7c74cbec6b954dd20e8b88f7 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sat, 25 Jun 2016 01:40:54 +0000 Subject: [PATCH] [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 --- test/Transforms/PlaceSafepoints/no-statepoints.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Transforms/PlaceSafepoints/no-statepoints.ll b/test/Transforms/PlaceSafepoints/no-statepoints.ll index 698f295f5f9..ad2442369b8 100644 --- a/test/Transforms/PlaceSafepoints/no-statepoints.ll +++ b/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 } -- 2.50.1