Update credits and fix sorting issue.
[llvm-complete.git] / test / Feature / casttest.ll
blobacd47e575bbace1c5eee4f684d4a1578c3a2098b
1 ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
5 implementation
7 short "FunFunc"(long %x, sbyte %z)
8 begin
9 bb0:            ;;<label>
10         %cast110 = cast sbyte %z to short       ;;<short>:(signed operands)
11         %cast10 = cast long %x to short         ;;<short>
12         %reg109 = add short %cast110, %cast10   ;;<short>
13         ret short %reg109                       ;;<void>
14 end