llvm.org GIT mirror llvm / release_90 test / CodeGen / PowerPC / 2006-01-11-darwin-fp-argument.ll
release_90

Tree @release_90 (Download .tar.gz)

2006-01-11-darwin-fp-argument.ll @release_90raw · history · blame

; RUN: llc -verify-machineinstrs < %s | FileCheck %s

target triple = "powerpc-unknown-linux-gnu"

; Dead argument should reserve an FP register.
define double @bar(double %DEAD, double %X, double %Y) {
; CHECK: fadd 1, 2, 3
        %tmp.2 = fadd double %X, %Y              ; <double> [#uses=1]
        ret double %tmp.2
}