summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll b/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
index c90ef0aa30d..e2f06f5e69a 100644
--- a/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
+++ b/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
@@ -1,12 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc | not grep {, f1}
+; RUN: llvm-as < %s | llc | not grep {, f1}
-target endian = big
-target pointersize = 32
+target datalayout = "E-p:32: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
+define double @bar(double %DEAD, double %X, double %Y) {
+ %tmp.2 = add double %X, %Y ; <double> [#uses=1]
ret double %tmp.2
}
-
OpenPOWER on IntegriCloud