diff options
Diffstat (limited to 'test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll')
-rw-r--r-- | test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll b/test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll index b2a9d43..c0ff25f 100644 --- a/test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll +++ b/test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll @@ -13,8 +13,8 @@ entry: %r1 = bitcast %struct.x* %r to i8* %s2 = bitcast %struct.x* %s to i8* call void @llvm.memcpy.p0i8.p0i8.i32(i8* %r1, i8* %s2, i32 12, i32 8, i1 false) - %1 = getelementptr %struct.x* %r, i32 0, i32 0, i32 1 - %2 = load i32* %1, align 4 + %1 = getelementptr %struct.x, %struct.x* %r, i32 0, i32 0, i32 1 + %2 = load i32, i32* %1, align 4 ret i32 %2 } |