blob: 6be1a66c18afd68e8f569f3670e2bc031c54ba9a [file] [log] [blame]
Reid Spencera2c72b52007-04-15 19:21:54 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- -65535
John Criswell8bf0f642005-07-14 19:56:03 +00002; ModuleID = '<stdin>'
3target endian = little
4target pointersize = 32
5target triple = "i686-pc-linux-gnu"
6
7implementation ; Functions:
8
9declare void %func(int)
10
11void %funcb() {
12entry:
13 %tmp.1 = sub int 0, -65535 ; <int> [#uses=1]
14 call void %func( int %tmp.1 )
15 br label %return
16
17return: ; preds = %entry
18 ret void
19}