1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[PlaceSafepoints] Don't call undef in test case; NFC

llvm-svn: 273764
This commit is contained in:
Sanjoy Das 2016-06-25 01:40:54 +00:00
parent 8881a593c6
commit b976e641ec

View File

@ -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
}