aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
blob: e73eb63c24dbb0895cd42561c0883ba3ff5b34cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- --65535
; PR596

target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"

implementation   ; Functions:

declare void %func(int)

void %funcb() {
entry:
	%tmp.1 = sub int 0, -65535		; <int> [#uses=1]
	call void %func( int %tmp.1 )
	br label %return

return:		; preds = %entry
	ret void
}