aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-25 04:26:08 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-25 04:26:08 +0000
commit6f729d601c8a6a9710356aadb42dc8d0efa95bf2 (patch)
treee662b3ee5539d7594ab49eda3eae140424ce499d /test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
parenta2fb634defce316ec972aa6f3ca3a941b4656f5e (diff)
downloadexternal_llvm-6f729d601c8a6a9710356aadb42dc8d0efa95bf2.zip
external_llvm-6f729d601c8a6a9710356aadb42dc8d0efa95bf2.tar.gz
external_llvm-6f729d601c8a6a9710356aadb42dc8d0efa95bf2.tar.bz2
Byebye llvm-upgrade!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll')
-rw-r--r--test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll b/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
index c90ef0a..e2f06f5 100644
--- a/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
+++ b/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
}
-