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