projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488742a
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Thu, 6 Jan 2005 21:18:53 +0000
(21:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 6 Jan 2005 21:18:53 +0000
(21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19312
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/negatize_zero.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/negatize_zero.ll
b/test/CodeGen/X86/negatize_zero.ll
new file mode 100644
(file)
index 0000000..
4da609d
--- /dev/null
+++ b/
test/CodeGen/X86/negatize_zero.ll
@@ -0,0
+1,6
@@
+; RUN: llvm-as < %s | llc -march=x86 | grep fchs
+
+
+double %T() {
+ ret double -1.0 ;; codegen as fld1/fchs, not as a load from cst pool
+}