diff options
Diffstat (limited to 'test/CodeGen/PowerPC/fpcopy.ll')
-rw-r--r-- | test/CodeGen/PowerPC/fpcopy.ll | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/fpcopy.ll b/test/CodeGen/PowerPC/fpcopy.ll index ce86da8..7d80596 100644 --- a/test/CodeGen/PowerPC/fpcopy.ll +++ b/test/CodeGen/PowerPC/fpcopy.ll @@ -1,6 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep fmr +; RUN: llvm-as < %s | llc -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 } + |