summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/modernize-use-nullptr.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-08-19 11:21:43 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-08-19 11:21:43 +0000
commit9fe42604aad42e473d3e9963b929407e8de4da99 (patch)
tree26b078be91c23c65688d3167a170de4e3c3d13d7 /clang-tools-extra/test/clang-tidy/modernize-use-nullptr.cpp
parentdcdab4cd3aca7c587aa2d6cf20ebed1b9abe920e (diff)
downloadbcm5719-llvm-9fe42604aad42e473d3e9963b929407e8de4da99.tar.gz
bcm5719-llvm-9fe42604aad42e473d3e9963b929407e8de4da99.zip
[X86] Do not lower scalar sdiv/udiv to a shifts + mul sequence when optimizing for minsize
There are some cases where the mul sequence is smaller, but for the most part, using a div is preferable. This does not apply to vectors, since x86 doesn't have vector idiv, and a vector mul/shifts sequence ought to be smaller than a scalarized division. Differential Revision: http://reviews.llvm.org/D12082 llvm-svn: 245431
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-nullptr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud