[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / ARM / 2012-10-04-FixedFrame-vs-byval.ll
index c9ccc103e2fac5e075d94f7ede4f1a6e46aa194f..694025af0d782e0d9492cb469c7c6d446ad53c25 100644 (file)
@@ -12,7 +12,7 @@ declare i32 @printf(i8*, ...)
 ; CHECK:       vldr    d16, [sp, #8]
 define void @test_byval_usage_scheduling(i32 %n1, i32 %n2, %struct_t* byval %val) nounwind {
 entry:
-  %a = getelementptr inbounds %struct_t* %val, i32 0, i32 0
+  %a = getelementptr inbounds %struct_t, %struct_t* %val, i32 0, i32 0
   %0 = load double* %a
   %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([12 x i8]* @.str, i32 0, i32 0), double %0)
   ret void