[FastISel][X86] Add support for floating-point select.
authorJuergen Ributzka <juergen@apple.com>
Mon, 23 Jun 2014 21:55:40 +0000 (21:55 +0000)
committerJuergen Ributzka <juergen@apple.com>
Mon, 23 Jun 2014 21:55:40 +0000 (21:55 +0000)
commitd0976a3d200016d49448d0b08234220a7f07eb3d
tree7da6ee41d338bfcb90942cff3c95b94ba32c6641
parent5f4e6e1ec0154137efb15ea497ebd8cbe1850ea3
[FastISel][X86] Add support for floating-point select.

This extends the select lowering to support floating-point selects. The
lowering depends on SSE instructions and that the conditon comes from a
floating-point compare. Under this conditions it is possible to emit an
optimized instruction sequence that doesn't require any branches to
simulate the select.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel-select-sse.ll [new file with mode: 0644]