[opaque pointer type] Add textual IR support for explicit type parameter to load...
[oota-llvm.git] / test / Transforms / ScalarRepl / arraytest.ll
index d95d5a13270249c88795dd87501eb0766413b0ab..486e725fa6a5d487a26779638f6a7601a278cc60 100644 (file)
@@ -5,7 +5,7 @@ define i32 @test() {
        %X = alloca [4 x i32]           ; <[4 x i32]*> [#uses=1]
        %Y = getelementptr [4 x i32], [4 x i32]* %X, i64 0, i64 0               ; <i32*> [#uses=2]
        store i32 0, i32* %Y
-       %Z = load i32* %Y               ; <i32> [#uses=1]
+       %Z = load i32, i32* %Y          ; <i32> [#uses=1]
        ret i32 %Z
 }