llvm-project/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argume...

11 lines
314 B
LLVM
Raw Normal View History

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