diff options
Diffstat (limited to 'test/CodeGen/SystemZ/frame-15.ll')
-rw-r--r-- | test/CodeGen/SystemZ/frame-15.ll | 146 |
1 files changed, 73 insertions, 73 deletions
diff --git a/test/CodeGen/SystemZ/frame-15.ll b/test/CodeGen/SystemZ/frame-15.ll index b3c95e7..f81c9dc 100644 --- a/test/CodeGen/SystemZ/frame-15.ll +++ b/test/CodeGen/SystemZ/frame-15.ll @@ -36,13 +36,13 @@ define void @f1(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [978 x float], align 8 %region2 = alloca [978 x float], align 8 - %start1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 1 - %ptr2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 1 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 1 + %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 1 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -63,13 +63,13 @@ define void @f2(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [978 x float], align 8 %region2 = alloca [978 x float], align 8 - %start1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 2 - %ptr2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 2 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 2 + %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 2 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -90,13 +90,13 @@ define void @f3(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [978 x float], align 8 %region2 = alloca [978 x float], align 8 - %start1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 3 - %ptr2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 3 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 3 + %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 3 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -117,13 +117,13 @@ define void @f4(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [2002 x float], align 8 %region2 = alloca [2002 x float], align 8 - %start1 = getelementptr inbounds [2002 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [2002 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [2002 x float], [2002 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [2002 x float], [2002 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [2002 x float]* %region1, i64 0, i64 1 - %ptr2 = getelementptr inbounds [2002 x float]* %region2, i64 0, i64 1 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [2002 x float], [2002 x float]* %region1, i64 0, i64 1 + %ptr2 = getelementptr inbounds [2002 x float], [2002 x float]* %region2, i64 0, i64 1 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -144,13 +144,13 @@ define void @f5(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [2002 x float], align 8 %region2 = alloca [2002 x float], align 8 - %start1 = getelementptr inbounds [2002 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [2002 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [2002 x float], [2002 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [2002 x float], [2002 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [2002 x float]* %region1, i64 0, i64 2 - %ptr2 = getelementptr inbounds [2002 x float]* %region2, i64 0, i64 2 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [2002 x float], [2002 x float]* %region1, i64 0, i64 2 + %ptr2 = getelementptr inbounds [2002 x float], [2002 x float]* %region2, i64 0, i64 2 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -171,13 +171,13 @@ define void @f6(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [2002 x float], align 8 %region2 = alloca [2002 x float], align 8 - %start1 = getelementptr inbounds [2002 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [2002 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [2002 x float], [2002 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [2002 x float], [2002 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [2002 x float]* %region1, i64 0, i64 3 - %ptr2 = getelementptr inbounds [2002 x float]* %region2, i64 0, i64 3 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [2002 x float], [2002 x float]* %region1, i64 0, i64 3 + %ptr2 = getelementptr inbounds [2002 x float], [2002 x float]* %region2, i64 0, i64 3 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -200,13 +200,13 @@ define void @f7(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [2004 x float], align 8 %region2 = alloca [2004 x float], align 8 - %start1 = getelementptr inbounds [2004 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [2004 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [2004 x float], [2004 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [2004 x float], [2004 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [2004 x float]* %region1, i64 0, i64 1023 - %ptr2 = getelementptr inbounds [2004 x float]* %region2, i64 0, i64 1023 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [2004 x float], [2004 x float]* %region1, i64 0, i64 1023 + %ptr2 = getelementptr inbounds [2004 x float], [2004 x float]* %region2, i64 0, i64 1023 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -228,13 +228,13 @@ define void @f8(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [2006 x float], align 8 %region2 = alloca [2006 x float], align 8 - %start1 = getelementptr inbounds [2006 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [2006 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [2006 x float], [2006 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [2006 x float], [2006 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [2006 x float]* %region1, i64 0, i64 1023 - %ptr2 = getelementptr inbounds [2006 x float]* %region2, i64 0, i64 1023 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [2006 x float], [2006 x float]* %region1, i64 0, i64 1023 + %ptr2 = getelementptr inbounds [2006 x float], [2006 x float]* %region2, i64 0, i64 1023 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -257,13 +257,13 @@ define void @f9(double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [2006 x float], align 8 %region2 = alloca [2006 x float], align 8 - %start1 = getelementptr inbounds [2006 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [2006 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [2006 x float], [2006 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [2006 x float], [2006 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [2006 x float]* %region1, i64 0, i64 1024 - %ptr2 = getelementptr inbounds [2006 x float]* %region2, i64 0, i64 1024 - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [2006 x float], [2006 x float]* %region1, i64 0, i64 1024 + %ptr2 = getelementptr inbounds [2006 x float], [2006 x float]* %region2, i64 0, i64 1024 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -291,20 +291,20 @@ define void @f10(i32 *%vptr, double *%dst) { ; CHECK-FP: br %r14 %region1 = alloca [978 x float], align 8 %region2 = alloca [978 x float], align 8 - %start1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %ptr1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 2 - %ptr2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 2 - %i0 = load volatile i32 *%vptr - %i1 = load volatile i32 *%vptr - %i2 = load volatile i32 *%vptr - %i3 = load volatile i32 *%vptr - %i4 = load volatile i32 *%vptr - %i5 = load volatile i32 *%vptr - %i14 = load volatile i32 *%vptr - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %ptr1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 2 + %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 2 + %i0 = load volatile i32 , i32 *%vptr + %i1 = load volatile i32 , i32 *%vptr + %i2 = load volatile i32 , i32 *%vptr + %i3 = load volatile i32 , i32 *%vptr + %i4 = load volatile i32 , i32 *%vptr + %i5 = load volatile i32 , i32 *%vptr + %i14 = load volatile i32 , i32 *%vptr + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst @@ -334,19 +334,19 @@ define void @f11(double *%dst, i64 %index) { ; CHECK-FP: br %r14 %region1 = alloca [978 x float], align 8 %region2 = alloca [978 x float], align 8 - %start1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 0 - %start2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 0 + %start1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 0 + %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0 call void @foo(float *%start1, float *%start2) - %elem1 = getelementptr inbounds [978 x float]* %region1, i64 0, i64 2 - %elem2 = getelementptr inbounds [978 x float]* %region2, i64 0, i64 2 + %elem1 = getelementptr inbounds [978 x float], [978 x float]* %region1, i64 0, i64 2 + %elem2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 2 %base1 = ptrtoint float *%elem1 to i64 %base2 = ptrtoint float *%elem2 to i64 %addr1 = add i64 %base1, %index %addr2 = add i64 %base2, %index %ptr1 = inttoptr i64 %addr1 to float * %ptr2 = inttoptr i64 %addr2 to float * - %float1 = load float *%ptr1 - %float2 = load float *%ptr2 + %float1 = load float , float *%ptr1 + %float2 = load float , float *%ptr2 %double1 = fpext float %float1 to double %double2 = fpext float %float2 to double store volatile double %double1, double *%dst |