diff options
| author | Juergen Ributzka <juergen@apple.com> | 2013-09-05 23:02:56 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2013-09-05 23:02:56 +0000 |
| commit | d7174719a9d5bec7f0c999cd12249d3a918d7153 (patch) | |
| tree | f482f1f9a1fac20cde82e10f75b7ac7816969999 /lib/Bitcode/Writer/BitWriter.cpp | |
| parent | d8e2f1757d9ececd7937406596fec8e4ebfb7d46 (diff) | |
| download | llvm-d7174719a9d5bec7f0c999cd12249d3a918d7153.tar.gz llvm-d7174719a9d5bec7f0c999cd12249d3a918d7153.tar.bz2 llvm-d7174719a9d5bec7f0c999cd12249d3a918d7153.tar.xz | |
[X86] Perform VSELECT DAG combines also before DAG type legalization.
If the DAG already has only legal types, then the second round of DAG combines
is skipped. In this case VSELECT+SETCC patterns that match a more efficient
instruction (e.g. min/max) are never recognized.
This fix allows VSELECT+SETCC combines if the types are already legal before DAG
type legalization.
Reviewer: Nadav
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions
