[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / PowerPC / ld-st-upd.ll
index 24f31aca05adc104a357ede9ab312bd3950c8ff6..30fae7080e2839b51ba774a466858a9fd41ea781 100644 (file)
@@ -4,7 +4,7 @@ target triple = "powerpc-unknown-linux-gnu"
 
 ; Function Attrs: nounwind
 define i32* @test4(i32* readonly %X, i32* nocapture %dest) #0 {
-  %Y = getelementptr i32* %X, i64 4
+  %Y = getelementptr i32, i32* %X, i64 4
   %A = load i32* %Y, align 4
   store i32 %A, i32* %dest, align 4
   ret i32* %Y