blob: 96f971a0e8fdc2942cd67c085338065c3646f5df [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5short "FunFunc"(long %x, sbyte %z)
6begin
7bb0: ;;<label>
8 %cast110 = cast sbyte %z to short ;;<short>:(signed operands)
9 %cast10 = cast long %x to short ;;<short>
10 %reg109 = add short %cast110, %cast10 ;;<short>
11 ret short %reg109 ;;<void>
12end
13