blob: 88078bbc720d997840baa558e5fb9364e7b229ab [file] [log] [blame]
Reid Spencer8ee16fb2007-03-14 23:07:24 +00001; PR1256
Reid Spencer90008f42007-04-15 10:07:55 +00002; RUN: llvm-upgrade < %s | grep {call void @f( i32 .tmp )}
3; RUN: llvm-upgrade < %s | grep {call void @g( i8 .tmp\.upgrd\.2 )}
Reid Spencer8ee16fb2007-03-14 23:07:24 +00004
5target datalayout = "e-p:32:32"
6target endian = little
7target pointersize = 32
8target triple = "i686-pc-linux-gnu"
9
10implementation ; Functions:
11
12void %_Z4func() {
13entry:
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
23declare void %f(int)
24declare void %g(ubyte)