merge a test into ipsccp-basic. running llvm-ld to get one pass is... bad.
[oota-llvm.git] / test / Transforms / SCCP / ipsccp-basic.ll
index 2442c56e0195d788d84608a0e68fd06267b9fc23..b5a05686eb2cc27e8c5674e43c559f959cf58450 100644 (file)
@@ -189,9 +189,19 @@ define void @test8b(i32* %P) {
     %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
 
+@test9g = internal global {  } zeroinitializer
+
+define void @test9() {
+entry:
+        %local_foo = alloca {  }
+        load {  }* @current_foo
+        store {  } %0, {  }* %local_foo
+        ret void
+}