mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
842a99ced1
llvm-svn: 36114
21 lines
379 B
LLVM
21 lines
379 B
LLVM
; 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
|
|
}
|