[opaque pointer type] Add textual IR support for explicit type parameter to load...
[oota-llvm.git] / test / Transforms / ScalarRepl / 2009-02-02-ScalarPromoteOutOfRange.ll
index e60a2d0ff536766d4ef8750e0e9982a603e01eda..f0af1caa4610256b1179df0183635530a7f7dcf9 100644 (file)
@@ -11,6 +11,6 @@ define i32 @f(i32 %x, i32 %y) {
        store i32 %x, i32* %cast
        %second = getelementptr %pair, %pair* %instance, i32 0, i32 1
        store i32 %y, i32* %second
-       %v = load i32* %cast
+       %v = load i32, i32* %cast
        ret i32 %v
 }