[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)
commit21d560843fc7dfc7b917a94554f676bc649fd566
treeca35540b0b74ca189b794dc2b566ded60ac92c09
parent6ef06f9159950b14db7f40f1fd37aa53ca2e955b
[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.

llvm-svn: 211544
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-select-sse.ll [new file with mode: 0644]