Mercurial > hg > CbC > CbC_llvm
diff test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children |
line wrap: on
line diff
--- a/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll Wed Feb 18 14:56:07 2015 +0900 +++ b/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll Tue Oct 13 17:48:58 2015 +0900 @@ -12,10 +12,10 @@ define i32 @test1(%struct.foo* %P) { entry: %L = alloca %struct.foo, align 2 ; <%struct.foo*> [#uses=1] - %L2 = getelementptr %struct.foo* %L, i32 0, i32 0 ; <i8*> [#uses=2] - %tmp13 = getelementptr %struct.foo* %P, i32 0, i32 0 ; <i8*> [#uses=1] + %L2 = getelementptr %struct.foo, %struct.foo* %L, i32 0, i32 0 ; <i8*> [#uses=2] + %tmp13 = getelementptr %struct.foo, %struct.foo* %P, i32 0, i32 0 ; <i8*> [#uses=1] call void @llvm.memcpy.p0i8.p0i8.i32( i8* %L2, i8* %tmp13, i32 2, i32 1, i1 false) - %tmp5 = load i8* %L2 ; <i8> [#uses=1] + %tmp5 = load i8, i8* %L2 ; <i8> [#uses=1] %tmp56 = sext i8 %tmp5 to i32 ; <i32> [#uses=1] ret i32 %tmp56 }