fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
[llvm/avr.git] / test / CodeGen / CBackend / 2005-07-14-NegationToMinusMinus.ll
blob808b8f91407a094ad836a113949d5d204e05dca5
1 ; RUN: llc < %s -march=c | not grep -- --65535
2 ; PR596
4 target datalayout = "e-p:32:32"
5 target triple = "i686-pc-linux-gnu"
7 declare void @func(i32)
9 define void @funcb() {
10 entry:
11         %tmp.1 = sub i32 0, -65535              ; <i32> [#uses=1]
12         call void @func( i32 %tmp.1 )
13         br label %return
15 return:         ; preds = %entry
16         ret void