[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 11 10:15:49 PST 2006
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2006-01-11-darwin-fp-argument.ll added (r1.1)
---
Log message:
Testcase the PPC backend is miscompiling.
---
Diffs of the changes: (+13 -0)
2006-01-11-darwin-fp-argument.ll | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll:1.1
*** /dev/null Wed Jan 11 12:15:47 2006
--- llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll Wed Jan 11 12:15:37 2006
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | llc &&
+ ; RUN: llvm-as < %s | llc | not grep ', f1'
+
+ target endian = big
+ target pointersize = 32
+ target triple = "powerpc-apple-darwin8.2.0"
+
+ ; Dead argument should reserve an FP register.
+ double %bar(double %DEAD, double %X, double %Y) {
+ %tmp.2 = add double %X, %Y
+ ret double %tmp.2
+ }
+
More information about the llvm-commits
mailing list