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:
parent
8881a593c6
commit
b976e641ec
@ -1,5 +1,7 @@
|
|||||||
; RUN: opt -S -place-safepoints < %s | FileCheck %s
|
; RUN: opt -S -place-safepoints < %s | FileCheck %s
|
||||||
|
|
||||||
|
declare void @callee()
|
||||||
|
|
||||||
define void @test() gc "statepoint-example" {
|
define void @test() gc "statepoint-example" {
|
||||||
; CHECK-LABEL: test(
|
; CHECK-LABEL: test(
|
||||||
entry:
|
entry:
|
||||||
@ -9,7 +11,7 @@ entry:
|
|||||||
|
|
||||||
other:
|
other:
|
||||||
; CHECK: other:
|
; CHECK: other:
|
||||||
call void undef() "gc-leaf-function"
|
call void @callee() "gc-leaf-function"
|
||||||
; CHECK: call void @do_safepoint()
|
; CHECK: call void @do_safepoint()
|
||||||
br label %other
|
br label %other
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user