Try again to revert the bad patch. The tree was reverted for some unknown reason
[oota-llvm.git] / test / CodeGen / PowerPC / fpcopy.ll
index 00f2e48a6a5aceed607ed8978af91bdd12f29eb3..7b9446baac071c0f62116562be6fb713906109b9 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep fmr
+; RUN: llc < %s -march=ppc32 | not grep fmr
 
-double %test(float %F) {
-       %F = cast float %F to double
-       ret double %F
+define double @test(float %F) {
+        %F.upgrd.1 = fpext float %F to double           ; <double> [#uses=1]
+        ret double %F.upgrd.1
 }
+