blob: 65dd568b1ee3606199a7da8d40ebce94cd66d409 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32
Chris Lattner52379112006-07-19 17:14:23 +00002
Dan Gohman3c98fef2009-09-24 20:20:08 +00003define void @img2buf(i32 %symbol_size_in_bytes, i16* %ui16) nounwind {
Tanya Lattner6f729d62008-03-25 04:26:08 +00004 %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
Chris Lattner52379112006-07-19 17:14:23 +00008}
9
Tanya Lattner6f729d62008-03-25 04:26:08 +000010declare i16 @llvm.bswap.i16(i16)
11