summaryrefslogtreecommitdiff
path: root/test/Feature/casttest.ll
blob: 5b2db7b4886adaad2fc72caff7ee6e06ab83cb88 (plain)
1
2
3
4
5
6
7
8
9
10
11
implementation

short "FunFunc"(long %x, sbyte %z)
begin
bb0:            ;;<label>
        %cast110 = cast sbyte %z to short       ;;<short>:(signed operands)
        %cast10 = cast long %x to short         ;;<short>
        %reg109 = add short %cast110, %cast10   ;;<short>
        ret short %reg109                       ;;<void>
end