Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.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 | 1172e4bd9c6f |
rev | line source |
---|---|
0 | 1 ; RUN: llc < %s -march=ppc32 |
2 | |
3 define void @img2buf(i32 %symbol_size_in_bytes, i16* %ui16) nounwind { | |
95 | 4 %tmp93 = load i16, i16* null ; <i16> [#uses=1] |
0 | 5 %tmp99 = call i16 @llvm.bswap.i16( i16 %tmp93 ) ; <i16> [#uses=1] |
6 store i16 %tmp99, i16* %ui16 | |
7 ret void | |
8 } | |
9 | |
10 declare i16 @llvm.bswap.i16(i16) | |
11 |