1 ; bswap should be constant folded when it is passed a constant argument
3 ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep call
5 declare ushort %llvm.bswap.i16(ushort)
6 declare uint %llvm.bswap.i32(uint)
7 declare ulong %llvm.bswap.i64(ulong)
10 %Z = call ushort %llvm.bswap.i16(ushort 1)
15 %Z = call uint %llvm.bswap.i32(uint 1)
20 %Z = call ulong %llvm.bswap.i64(ulong 1)