diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-01-20 00:16:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-01-20 00:16:18 +0000 |
commit | d0deec20f6a77b3b22af9f91dd3e30314c5264bc (patch) | |
tree | a5d944554f05bc800910653ad01d14c151aa24ff /test/CodeGen/X86/uint_to_fp-2.ll | |
parent | 5049fa6bbc66534fe0cc361808dff80fd2d5cde2 (diff) | |
download | external_llvm-d0deec20f6a77b3b22af9f91dd3e30314c5264bc.zip external_llvm-d0deec20f6a77b3b22af9f91dd3e30314c5264bc.tar.gz external_llvm-d0deec20f6a77b3b22af9f91dd3e30314c5264bc.tar.bz2 |
Make linear scan's trivial coalescer slightly more aggressive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/uint_to_fp-2.ll')
-rw-r--r-- | test/CodeGen/X86/uint_to_fp-2.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/uint_to_fp-2.ll b/test/CodeGen/X86/uint_to_fp-2.ll new file mode 100644 index 0000000..d630437 --- /dev/null +++ b/test/CodeGen/X86/uint_to_fp-2.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movsd | count 1 +; rdar://6504833 + +define float @f(i32 %x) nounwind readnone { +entry: + %0 = uitofp i32 %x to float + ret float %0 +} |