blob: d71ba5a3822a414107933dca6d2951f29b0f4071 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
2
3void %img2buf(int %symbol_size_in_bytes, ushort* %ui16) {
4 %tmp93 = load ushort* null ; <ushort> [#uses=1]
5 %tmp99 = call ushort %llvm.bswap.i16( ushort %tmp93 ) ; <ushort> [#uses=1]
6 store ushort %tmp99, ushort* %ui16
7 ret void
8}
9
10declare ushort %llvm.bswap.i16(ushort)