[llvm] r273764 - [PlaceSafepoints] Don't call undef in test case; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 24 18:40:54 PDT 2016
Author: sanjoy
Date: Fri Jun 24 20:40:54 2016
New Revision: 273764
URL: http://llvm.org/viewvc/llvm-project?rev=273764&view=rev
Log:
[PlaceSafepoints] Don't call undef in test case; NFC
Modified:
llvm/trunk/test/Transforms/PlaceSafepoints/no-statepoints.ll
Modified: llvm/trunk/test/Transforms/PlaceSafepoints/no-statepoints.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PlaceSafepoints/no-statepoints.ll?rev=273764&r1=273763&r2=273764&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/PlaceSafepoints/no-statepoints.ll (original)
+++ llvm/trunk/test/Transforms/PlaceSafepoints/no-statepoints.ll Fri Jun 24 20:40:54 2016
@@ -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
}
More information about the llvm-commits
mailing list