[opaque pointer type] Add textual IR support for explicit type parameter to load...
[oota-llvm.git] / test / Transforms / ScalarRepl / sroa-fca.ll
index 2df3b9be1e4821c0e20e4fde6d57a073e8e5316d..c6e7c23ab0665d89efa8723e38dd97e9d49faa2d 100644 (file)
@@ -6,7 +6,7 @@ define i64 @test({i32, i32} %A) {
        %Y = bitcast i64* %X to {i32,i32}*
        store {i32,i32} %A, {i32,i32}* %Y
        
-       %Q = load i64* %X
+       %Q = load i64, i64* %X
        ret i64 %Q
 }
 
@@ -15,7 +15,7 @@ define {i32,i32} @test2(i64 %A) {
        %Y = bitcast i64* %X to {i32,i32}*
        store i64 %A, i64* %X
        
-       %Q = load {i32,i32}* %Y
+       %Q = load {i32,i32}, {i32,i32}* %Y
        ret {i32,i32} %Q
 }