blob: acd47e575bbace1c5eee4f684d4a1578c3a2098b [file] [log] [blame]
Tanya Lattner3f7706b2004-11-07 06:08:43 +00001; 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
4
Chris Lattner09083092001-07-08 04:57:15 +00005implementation
6
7short "FunFunc"(long %x, sbyte %z)
8begin
9bb0: ;;<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>
14end
15