commit | dc8c044a9a3e00cab52ca204717de7aee9dab1be | [log] [tgz] |
---|---|---|
author | Michael Liao <michael.liao@intel.com> | Tue Oct 15 17:51:02 2013 +0000 |
committer | Michael Liao <michael.liao@intel.com> | Tue Oct 15 17:51:02 2013 +0000 |
tree | 89ad409fb774f860488c22c9bf0af76e96f9d7ad | |
parent | d45b3c4653dc4b18074b04662b6d0009880214e3 [diff] |
Fix PR16807 - Lower signed division by constant powers-of-2 to target-independent DAG operators instead of target-dependent ones to support them better on targets where vector types are legal but shift operators on that types are illegal. E.g., on AVX, PSRAW is only available on <8 x i16> though <16 x i16> is a legal type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192721 91177308-0d34-0410-b5e6-96231b3b80d8