diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-07 04:59:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-07 04:59:41 +0000 |
commit | 602b02a8f47dfe3c396f50de3afd6a458c5e88b0 (patch) | |
tree | c85a17d26a8f8ca3e9f08e6b602780f662e9629b /test/CodeGen/PowerPC/fpcopy.ll | |
parent | 7a7c979dddfbcf99b54673925114477ba9f306ff (diff) | |
download | external_llvm-602b02a8f47dfe3c396f50de3afd6a458c5e88b0.zip external_llvm-602b02a8f47dfe3c396f50de3afd6a458c5e88b0.tar.gz external_llvm-602b02a8f47dfe3c396f50de3afd6a458c5e88b0.tar.bz2 |
double to float casts should nto result in an fmr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/fpcopy.ll')
-rw-r--r-- | test/CodeGen/PowerPC/fpcopy.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/fpcopy.ll b/test/CodeGen/PowerPC/fpcopy.ll new file mode 100644 index 0000000..00f2e48 --- /dev/null +++ b/test/CodeGen/PowerPC/fpcopy.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=ppc32 && +; RUN: llvm-as < %s | llc -march=ppc32 | not grep fmr + +double %test(float %F) { + %F = cast float %F to double + ret double %F +} |