If we have ScalarSSE, we can select bitconvert into single instructions.
authorChris Lattner <sabre@nondot.org>
Tue, 5 Dec 2006 18:45:06 +0000 (18:45 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Dec 2006 18:45:06 +0000 (18:45 +0000)
commitf3597a13ae66dbe682029f64fb1a7f2b65ff6536
tree2be81b45d6321584b634131d5533c73399433c1d
parent2beb136e0b7032db586e0ac52bcea742e5209dde
If we have ScalarSSE, we can select bitconvert into single instructions.

This compiles bitcast.ll:test3/test4 into:

_test3:
        movd %xmm0, %eax
        ret
_test4:
        movd %edi, %xmm0
        ret

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32230 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td