blob: 1b3bde8fb12e0d0b5dbfc2e299586dff90aec181 [file] [log] [blame]
Tanya Lattner348c6182008-03-25 04:26:08 +00001; RUN: llvm-as < %s | llc | not grep {, f1}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner348c6182008-03-25 04:26:08 +00003target datalayout = "E-p:32:32"
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004target triple = "powerpc-apple-darwin8.2.0"
5
6; Dead argument should reserve an FP register.
Tanya Lattner348c6182008-03-25 04:26:08 +00007define double @bar(double %DEAD, double %X, double %Y) {
Dan Gohman7ce405e2009-06-04 22:49:04 +00008 %tmp.2 = fadd double %X, %Y ; <double> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009 ret double %tmp.2
10}