For PR1336:
[oota-llvm.git] / test / CodeGen / CBackend / 2005-07-14-NegationToMinusMinus.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- -65535
2 ; XFAIL: *
3
4 ; ModuleID = '<stdin>'
5 target endian = little
6 target pointersize = 32
7 target triple = "i686-pc-linux-gnu"
8
9 implementation   ; Functions:
10
11 declare void %func(int)
12
13 void %funcb() {
14 entry:
15         %tmp.1 = sub int 0, -65535              ; <int> [#uses=1]
16         call void %func( int %tmp.1 )
17         br label %return
18
19 return:         ; preds = %entry
20         ret void
21 }