Displaying 1 result from an estimated 1 matches for "test_i1_return".
2015 Jan 19
2
[LLVMdev] [INCOMPLETE] [GC] Support wrapping vararg functions in statepoint
...100644
--- a/test/CodeGen/X86/statepoint-call-lowering.ll
+++ b/test/CodeGen/X86/statepoint-call-lowering.ll
@@ -9,6 +9,7 @@ declare zeroext i1 @return_i1()
declare zeroext i32 @return_i32()
declare i32* @return_i32ptr()
declare float @return_float()
+declare i1 @varargf(i32, ...)
define i1 @test_i1_return() gc "statepoint-example" {
; CHECK-LABEL: test_i1_return
@@ -75,6 +76,20 @@ entry:
ret i1 %call2
}
+define i1 @test_vararg(i32 addrspace(1)* %a) gc "statepoint-example" {
+; CHECK-LABEL: test_vararg
+; Check that an ununsed relocate has no code-generation impact
+; CHECK...