Mercurial > hg > CbC > CbC_llvm
diff test/Analysis/BasicAA/byval.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 | 95c75e76d11b |
children |
line wrap: on
line diff
--- a/test/Analysis/BasicAA/byval.ll Wed Feb 18 14:56:07 2015 +0900 +++ b/test/Analysis/BasicAA/byval.ll Tue Oct 13 17:48:58 2015 +0900 @@ -6,11 +6,11 @@ define i32 @foo(%struct.x* byval %a) nounwind { ; CHECK: ret i32 1 - %tmp1 = tail call i32 (...)* @bar( %struct.x* %a ) nounwind ; <i32> [#uses=0] - %tmp2 = getelementptr %struct.x* %a, i32 0, i32 0 ; <i32*> [#uses=2] + %tmp1 = tail call i32 (...) @bar( %struct.x* %a ) nounwind ; <i32> [#uses=0] + %tmp2 = getelementptr %struct.x, %struct.x* %a, i32 0, i32 0 ; <i32*> [#uses=2] store i32 1, i32* %tmp2, align 4 store i32 2, i32* @g, align 4 - %tmp4 = load i32* %tmp2, align 4 ; <i32> [#uses=1] + %tmp4 = load i32, i32* %tmp2, align 4 ; <i32> [#uses=1] ret i32 %tmp4 }