From 4c5e43da7792f75567b693105cc53e3f1992ad98 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Wed, 8 Apr 2015 08:55:49 -0700 Subject: Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49 --- test/CodeGen/PowerPC/2007-09-08-unaligned.ll | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'test/CodeGen/PowerPC/2007-09-08-unaligned.ll') diff --git a/test/CodeGen/PowerPC/2007-09-08-unaligned.ll b/test/CodeGen/PowerPC/2007-09-08-unaligned.ll index bdd91f3..341b632 100644 --- a/test/CodeGen/PowerPC/2007-09-08-unaligned.ll +++ b/test/CodeGen/PowerPC/2007-09-08-unaligned.ll @@ -16,18 +16,18 @@ define i32 @foo() { entry: %retval = alloca i32, align 4 ; [#uses=1] %"alloca point" = bitcast i32 0 to i32 ; [#uses=0] - %tmp = getelementptr %struct.anon* @s, i32 0, i32 1 ; [#uses=1] - %tmp1 = load float* %tmp, align 1 ; [#uses=1] - %tmp2 = getelementptr %struct.anon* @t, i32 0, i32 1 ; [#uses=1] + %tmp = getelementptr %struct.anon, %struct.anon* @s, i32 0, i32 1 ; [#uses=1] + %tmp1 = load float, float* %tmp, align 1 ; [#uses=1] + %tmp2 = getelementptr %struct.anon, %struct.anon* @t, i32 0, i32 1 ; [#uses=1] store float %tmp1, float* %tmp2, align 1 - %tmp3 = getelementptr <{ i8, double }>* @u, i32 0, i32 1 ; [#uses=1] - %tmp4 = load double* %tmp3, align 1 ; [#uses=1] - %tmp5 = getelementptr <{ i8, double }>* @v, i32 0, i32 1 ; [#uses=1] + %tmp3 = getelementptr <{ i8, double }>, <{ i8, double }>* @u, i32 0, i32 1 ; [#uses=1] + %tmp4 = load double, double* %tmp3, align 1 ; [#uses=1] + %tmp5 = getelementptr <{ i8, double }>, <{ i8, double }>* @v, i32 0, i32 1 ; [#uses=1] store double %tmp4, double* %tmp5, align 1 br label %return return: ; preds = %entry - %retval6 = load i32* %retval ; [#uses=1] + %retval6 = load i32, i32* %retval ; [#uses=1] ret i32 %retval6 } @@ -36,17 +36,17 @@ entry: %retval = alloca i32, align 4 ; [#uses=1] %"alloca point" = bitcast i32 0 to i32 ; [#uses=0] %tmp = call i32 @foo( ) ; [#uses=0] - %tmp1 = getelementptr %struct.anon* @t, i32 0, i32 1 ; [#uses=1] - %tmp2 = load float* %tmp1, align 1 ; [#uses=1] + %tmp1 = getelementptr %struct.anon, %struct.anon* @t, i32 0, i32 1 ; [#uses=1] + %tmp2 = load float, float* %tmp1, align 1 ; [#uses=1] %tmp23 = fpext float %tmp2 to double ; [#uses=1] - %tmp4 = getelementptr <{ i8, double }>* @v, i32 0, i32 1 ; [#uses=1] - %tmp5 = load double* %tmp4, align 1 ; [#uses=1] - %tmp6 = getelementptr [8 x i8]* @.str, i32 0, i32 0 ; [#uses=1] + %tmp4 = getelementptr <{ i8, double }>, <{ i8, double }>* @v, i32 0, i32 1 ; [#uses=1] + %tmp5 = load double, double* %tmp4, align 1 ; [#uses=1] + %tmp6 = getelementptr [8 x i8], [8 x i8]* @.str, i32 0, i32 0 ; [#uses=1] %tmp7 = call i32 (i8*, ...)* @printf( i8* %tmp6, double %tmp23, double %tmp5 ) ; [#uses=0] br label %return return: ; preds = %entry - %retval8 = load i32* %retval ; [#uses=1] + %retval8 = load i32, i32* %retval ; [#uses=1] ret i32 %retval8 } -- cgit v1.1