move a single test case to where most other instcombine shuffle bug test cases exist
[oota-llvm.git] / test / Transforms / GVN / load-constant-mem.ll
index 9bcf69c753c2aa5878ced948600d88685b6708e9..f870485630fa03285f9425415fc62b31814ad86b 100644 (file)
@@ -5,9 +5,9 @@
 define i32 @test(i8* %p, i32 %i) nounwind {
 entry:
        %P = getelementptr [4 x i32], [4 x i32]* @G, i32 0, i32 %i
-       %A = load i32* %P
+       %A = load i32, i32* %P
        store i8 4, i8* %p
-       %B = load i32* %P
+       %B = load i32, i32* %P
        %C = sub i32 %A, %B
        ret i32 %C
 }