projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r107852 is only safe with -enable-unsafe-fp-math to account for +0.0 == -0.0.
[oota-llvm.git]
/
test
/
CodeGen
/
CBackend
/
2005-07-14-NegationToMinusMinus.ll
diff --git
a/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
b/test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
index 6be1a66c18afd68e8f569f3670e2bc031c54ba9a..808b8f91407a094ad836a113949d5d204e05dca5 100644
(file)
--- a/
test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
+++ b/
test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
@@
-1,19
+1,18
@@
-; 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"
+; RUN: llc < %s -march=c | not grep -- --65535
+; PR596
-implementation ; Functions:
+target datalayout = "e-p:32:32"
+target triple = "i686-pc-linux-gnu"
-declare void
%func(int
)
+declare void
@func(i32
)
-
void %
funcb() {
+
define void @
funcb() {
entry:
entry:
-
%tmp.1 = sub int 0, -65535 ; <int
> [#uses=1]
-
call void %func( int
%tmp.1 )
- br label %return
+
%tmp.1 = sub i32 0, -65535 ; <i32
> [#uses=1]
+
call void @func( i32
%tmp.1 )
+
br label %return
-return:
; preds = %entry
- ret void
+return: ; preds = %entry
+
ret void
}
}
+