1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
3 target pointersize = 32
4 target triple = "powerpc-apple-darwin8"
6 implementation ; Functions:
10 %tmp = getelementptr { long, long, long, long }* null, int 0, uint 3
11 %tmp = load long* %tmp ; <long> [#uses=1]
12 %tmp8 = load ulong* null ; <ulong> [#uses=1]
13 %tmp8 = cast ulong %tmp8 to long ; <long> [#uses=1]
14 %tmp9 = and long %tmp8, %tmp ; <long> [#uses=1]
15 %sext = cast long %tmp9 to int ; <int> [#uses=1]
16 %tmp27.i = cast int %sext to long ; <long> [#uses=1]
17 tail call void %foo( uint 0, long %tmp27.i )
21 declare void %foo(uint, long)