diff options
author | Michael Liao <michael.liao@intel.com> | 2013-10-15 17:51:02 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-10-15 17:51:02 +0000 |
commit | 8ba068211d7e2a5976cad7272465c20efa0ce8a6 (patch) | |
tree | dcd0a4711bf20125565890f7028a8da02e808645 /clang/lib/AST/ExprCXX.cpp | |
parent | ca5c7be08883558ca71eae1f7d17ec1848bca44c (diff) | |
download | bcm5719-llvm-8ba068211d7e2a5976cad7272465c20efa0ce8a6.tar.gz bcm5719-llvm-8ba068211d7e2a5976cad7272465c20efa0ce8a6.zip |
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.
llvm-svn: 192721
Diffstat (limited to 'clang/lib/AST/ExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions