mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-06 03:38:34 +00:00
a2c72b52e4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36077 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
392 B
LLVM
20 lines
392 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- -65535
|
|
; 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
|
|
}
|