bolt/deps/llvm-18.1.8/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
2025-02-14 19:21:04 +01:00

10 lines
323 B
LLVM

; 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
}