Noting and enforcing that GC intrinsics are valid only within a
[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 ; PR596
3
4 target endian = little
5 target pointersize = 32
6 target triple = "i686-pc-linux-gnu"
7
8 implementation   ; Functions:
9
10 declare void %func(int)
11
12 void %funcb() {
13 entry:
14         %tmp.1 = sub int 0, -65535              ; <int> [#uses=1]
15         call void %func( int %tmp.1 )
16         br label %return
17
18 return:         ; preds = %entry
19         ret void
20 }