diff options
Diffstat (limited to 'test/Transforms/SCCP/ipsccp-basic.ll')
-rw-r--r-- | test/Transforms/SCCP/ipsccp-basic.ll | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/Transforms/SCCP/ipsccp-basic.ll b/test/Transforms/SCCP/ipsccp-basic.ll index 2442c56e01..b5a05686eb 100644 --- a/test/Transforms/SCCP/ipsccp-basic.ll +++ b/test/Transforms/SCCP/ipsccp-basic.ll @@ -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 +} |