Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison test/CodeGen/Thumb2/thumb2-ifcvt1-tc.ll @ 95:afa8332a0e37
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
61 | 61 |
62 @x = external global i32* ; <i32**> [#uses=1] | 62 @x = external global i32* ; <i32**> [#uses=1] |
63 | 63 |
64 define void @foo(i32 %a) nounwind { | 64 define void @foo(i32 %a) nounwind { |
65 entry: | 65 entry: |
66 %tmp = load i32** @x ; <i32*> [#uses=1] | 66 %tmp = load i32*, i32** @x ; <i32*> [#uses=1] |
67 store i32 %a, i32* %tmp | 67 store i32 %a, i32* %tmp |
68 ret void | 68 ret void |
69 } | 69 } |
70 | 70 |
71 ; Tail call prevents use of ifcvt in this one. Seems like a win though. | 71 ; Tail call prevents use of ifcvt in this one. Seems like a win though. |