Fix for PR2687: Add patterns to match sint_to_fp and fp_to_sint for <2 x
authorEli Friedman <eli.friedman@gmail.com>
Fri, 5 Sep 2008 23:07:03 +0000 (23:07 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 5 Sep 2008 23:07:03 +0000 (23:07 +0000)
commitd0c0fae63bbbdb2d26e62736f0654bfdc5193ccc
treebfe771f0c124753499ee1face4e30fc597a52a6d
parent8a11053f3ca7efb29312c4293c4fdb5d2ca3e20f
Fix for PR2687: Add patterns to match sint_to_fp and fp_to_sint for <2 x
i32>.  This is a little messy, but it works.

We should really get rid of the intrinsics, though, since they map
perfectly well to standard LLVM instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55864 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll [new file with mode: 0644]