2007-04-16 03:21:54 +08:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- -65535
|
2007-04-16 07:00:46 +08:00
|
|
|
; XFAIL: *
|
|
|
|
|
2005-07-15 03:56:03 +08:00
|
|
|
; ModuleID = '<stdin>'
|
|
|
|
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
|
|
|
|
}
|