1 ; Tests to make sure elimination of casts is working correctly
3 ; RUN: if as < %s | opt -instcombine -dce | grep '%c'
12 %c1 = cast int %A to uint
13 %c2 = cast uint %c1 to int
17 ulong "test2"(ubyte %A)
19 %c1 = cast ubyte %A to ushort
20 %c2 = cast ushort %c1 to uint
21 %Ret = cast uint %c2 to ulong