commit | 006bf052a174a86ca12a611ccc38bdb8cab07161 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Mon Aug 20 20:57:35 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Mon Aug 20 20:57:35 2018 +0000 |
tree | b9fbca19005293bdfdf1d97e96a8caf134f37d46 | |
parent | ef2b18c437d75df9e6b169f4e4859d68b516b1ca [diff] |
[X86] Teach combineTruncatedArithmetic to handle some cases of ISD::SUB We can safely avoid interfering with the subus combine if both inputs are freely truncatable. Either both extends, or an extend and a constant vector. Differential Revision: https://reviews.llvm.org/D50878 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340212 91177308-0d34-0410-b5e6-96231b3b80d8