1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
Tanya Lattner b6a27ed83f Byebye llvm-upgrade!
llvm-svn: 48762
2008-03-25 04:26:08 +00:00

11 lines
323 B
LLVM

; RUN: llvm-as < %s | llc | not grep {, f1}
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8.2.0"
; Dead argument should reserve an FP register.
define double @bar(double %DEAD, double %X, double %Y) {
%tmp.2 = add double %X, %Y ; <double> [#uses=1]
ret double %tmp.2
}