blob: e2f06f5e69aeaf6b896ba41a94c9336817e96122 [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) {
8 %tmp.2 = add double %X, %Y ; <double> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009 ret double %tmp.2
10}