[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / PowerPC / ppc64-align-long-double.ll
index 5ed029cc97027a6663af2dc81430da0cf7439e77..db50451a76cf4f5e8cde3ac1140ea7f902c9306a 100644 (file)
@@ -13,7 +13,7 @@ target triple = "powerpc64-unknown-linux-gnu"
 
 define ppc_fp128 @test(%struct.S* byval %x) nounwind {
 entry:
-  %b = getelementptr inbounds %struct.S* %x, i32 0, i32 1
+  %b = getelementptr inbounds %struct.S, %struct.S* %x, i32 0, i32 1
   %0 = load ppc_fp128* %b, align 16
   ret ppc_fp128 %0
 }