More working CellSPU tests:
[oota-llvm.git] / test / Assembler / 2007-03-14-UpgradeLocalSignless.ll
1 ; PR1256
2 ; RUN: llvm-upgrade < %s | grep {call void @f( i32 .tmp )}
3 ; RUN: llvm-upgrade < %s | grep {call void @g( i8 .tmp\.upgrd\.2 )}
4
5 target datalayout = "e-p:32:32"
6 target endian = little
7 target pointersize = 32
8 target triple = "i686-pc-linux-gnu"
9
10 implementation   ; Functions:
11
12 void %_Z4func() {
13 entry:
14         %tmp = add int 0, 0
15         %tmp = add uint 1, 1
16         %tmp = add ubyte 1, 2
17         %tmp = add sbyte 2, 3
18         call void %f (int %tmp)
19         call void %g (ubyte %tmp)
20         ret void
21 }
22
23 declare void %f(int)
24 declare void %g(ubyte)