blob: d71ba5a3822a414107933dca6d2951f29b0f4071 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
Chris Lattner52379112006-07-19 17:14:23 +00002
3void %img2buf(int %symbol_size_in_bytes, ushort* %ui16) {
4 %tmp93 = load ushort* null ; <ushort> [#uses=1]
Reid Spencer2b35c152007-04-02 01:08:02 +00005 %tmp99 = call ushort %llvm.bswap.i16( ushort %tmp93 ) ; <ushort> [#uses=1]
Chris Lattner52379112006-07-19 17:14:23 +00006 store ushort %tmp99, ushort* %ui16
7 ret void
8}
9
Reid Spencer2b35c152007-04-02 01:08:02 +000010declare ushort %llvm.bswap.i16(ushort)