diff options
Diffstat (limited to 'test/CodeGen/X86/dagcombine-cse.ll')
-rw-r--r-- | test/CodeGen/X86/dagcombine-cse.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/dagcombine-cse.ll b/test/CodeGen/X86/dagcombine-cse.ll index 75d3d93..be1dcff 100644 --- a/test/CodeGen/X86/dagcombine-cse.ll +++ b/test/CodeGen/X86/dagcombine-cse.ll @@ -5,14 +5,14 @@ define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) n entry: %tmp7 = mul i32 %idxY, %ref_frame_stride ; <i32> [#uses=2] %tmp9 = add i32 %tmp7, %idxX ; <i32> [#uses=1] - %tmp11 = getelementptr i8* %ref_frame_ptr, i32 %tmp9 ; <i8*> [#uses=1] + %tmp11 = getelementptr i8, i8* %ref_frame_ptr, i32 %tmp9 ; <i8*> [#uses=1] %tmp1112 = bitcast i8* %tmp11 to i32* ; <i32*> [#uses=1] - %tmp13 = load i32* %tmp1112, align 4 ; <i32> [#uses=1] + %tmp13 = load i32, i32* %tmp1112, align 4 ; <i32> [#uses=1] %tmp18 = add i32 %idxX, 4 ; <i32> [#uses=1] %tmp20.sum = add i32 %tmp18, %tmp7 ; <i32> [#uses=1] - %tmp21 = getelementptr i8* %ref_frame_ptr, i32 %tmp20.sum ; <i8*> [#uses=1] + %tmp21 = getelementptr i8, i8* %ref_frame_ptr, i32 %tmp20.sum ; <i8*> [#uses=1] %tmp2122 = bitcast i8* %tmp21 to i16* ; <i16*> [#uses=1] - %tmp23 = load i16* %tmp2122, align 2 ; <i16> [#uses=1] + %tmp23 = load i16, i16* %tmp2122, align 2 ; <i16> [#uses=1] %tmp2425 = zext i16 %tmp23 to i64 ; <i64> [#uses=1] %tmp26 = shl i64 %tmp2425, 32 ; <i64> [#uses=1] %tmp2728 = zext i32 %tmp13 to i64 ; <i64> [#uses=1] |