mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 06:03:52 +00:00
11 lines
313 B
LLVM
11 lines
313 B
LLVM
|
; RUN: llvm-as < %s | llc -march=ppc32
|
||
|
|
||
|
void %img2buf(int %symbol_size_in_bytes, ushort* %ui16) {
|
||
|
%tmp93 = load ushort* null ; <ushort> [#uses=1]
|
||
|
%tmp99 = call ushort %llvm.bswap.i16( ushort %tmp93 ) ; <ushort> [#uses=1]
|
||
|
store ushort %tmp99, ushort* %ui16
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare ushort %llvm.bswap.i16(ushort)
|