blob: 1da6dbf111794580a161c1e999ba1061a67feaf3 [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 Spencera3c533a2007-04-01 07:36:28 +00005 %tmp99 = call ushort %llvm.bswap.i16.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 Spencera3c533a2007-04-01 07:36:28 +000010declare ushort %llvm.bswap.i16.i16(ushort)