[llvm-commits] [llvm] r85945 - in /llvm/trunk/test/Transforms/SCCP: empty-struct.ll ipsccp-basic.ll
Chris Lattner
sabre at nondot.org
Tue Nov 3 13:25:50 PST 2009
Author: lattner
Date: Tue Nov 3 15:25:50 2009
New Revision: 85945
URL: http://llvm.org/viewvc/llvm-project?rev=85945&view=rev
Log:
merge a test into ipsccp-basic. running llvm-ld to get one pass is... bad.
Removed:
llvm/trunk/test/Transforms/SCCP/empty-struct.ll
Modified:
llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll
Removed: llvm/trunk/test/Transforms/SCCP/empty-struct.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/empty-struct.ll?rev=85944&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/SCCP/empty-struct.ll (original)
+++ llvm/trunk/test/Transforms/SCCP/empty-struct.ll (removed)
@@ -1,20 +0,0 @@
-; RUN: llvm-as < %s > %t.bc
-; RUN: llvm-ld %t.bc -o %t.sh
-; PR2612
-
- at current_foo = internal global { } zeroinitializer
-
-define i32 @main(...) {
-entry:
- %retval = alloca i32 ; <i32*> [#uses=2]
- store i32 0, i32* %retval
- %local_foo = alloca { } ; <{ }*> [#uses=1]
- load { }* @current_foo ; <{ }>:0 [#uses=1]
- store { } %0, { }* %local_foo
- br label %return
-
-return: ; preds = %entry
- load i32* %retval ; <i32>:1 [#uses=1]
- ret i32 %1
-}
-
Modified: llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll?rev=85945&r1=85944&r2=85945&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll (original)
+++ llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll Tue Nov 3 15:25:50 2009
@@ -189,9 +189,19 @@
%X = call {} @test8a(i32 5, i32* %P)
ret void
; CHECK: define void @test8b
-; CHECK-NEXT: call {} @test8a
+; CHECK-NEXT: call { } @test8a
; CHECK-NEXT: ret void
}
+;;======================== test9
+ at test9g = internal global { } zeroinitializer
+
+define void @test9() {
+entry:
+ %local_foo = alloca { }
+ load { }* @current_foo
+ store { } %0, { }* %local_foo
+ ret void
+}
More information about the llvm-commits
mailing list