Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / CodeGen / PowerPC / 2006-07-19-stwbrx-crash.ll
blob65dd568b1ee3606199a7da8d40ebce94cd66d409
1 ; RUN: llc < %s -march=ppc32
3 define void @img2buf(i32 %symbol_size_in_bytes, i16* %ui16) nounwind {
4         %tmp93 = load i16* null         ; <i16> [#uses=1]
5         %tmp99 = call i16 @llvm.bswap.i16( i16 %tmp93 )         ; <i16> [#uses=1]
6         store i16 %tmp99, i16* %ui16
7         ret void
10 declare i16 @llvm.bswap.i16(i16)