• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=c | not grep -- --65535
2; PR596
3
4target datalayout = "e-p:32:32"
5target triple = "i686-pc-linux-gnu"
6
7declare void @func(i32)
8
9define void @funcb() {
10entry:
11        %tmp.1 = sub i32 0, -65535              ; <i32> [#uses=1]
12        call void @func( i32 %tmp.1 )
13        br label %return
14
15return:         ; preds = %entry
16        ret void
17}
18
19