aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
blob: aeb28af4be525268277e2cc4010d281e36352707 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s | 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 = fadd double %X, %Y              ; <double> [#uses=1]
        ret double %tmp.2
}