commit | 1bfa1fd4c50123840b00d0f3893ba10026f472b0 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Sep 19 17:19:45 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Sep 19 17:19:45 2017 +0000 |
tree | 74440271fd57dcefb79db0ee0ab9ebb529257a73 | |
parent | 058162edd374a29168f50b208754b55bc00dc4d8 [diff] |
[X86] Convert X86ISD::SELECT to ISD::VSELECT just before instruction selection to avoid duplicate patterns Similar to what we do for X86ISD::SHRUNKBLEND just turn X86ISD::SELECT into ISD::VSELECT. This allows us to remove the duplicated TRUNC patterns. Differential Revision: https://reviews.llvm.org/D38022 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313644 91177308-0d34-0410-b5e6-96231b3b80d8