summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-03-31 17:30:06 +0000
committerSanjay Patel <spatel@rotateright.com>2016-03-31 17:30:06 +0000
commit92d5ea5e07bf122b10500715cd74eed963cf56cc (patch)
tree6b54f937b61d242102ab04439c74f34fcfc0be52 /clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
parentab962acd5940bb38810f4b7993166058ea8865f4 (diff)
downloadbcm5719-llvm-92d5ea5e07bf122b10500715cd74eed963cf56cc.tar.gz
bcm5719-llvm-92d5ea5e07bf122b10500715cd74eed963cf56cc.zip
[x86] use SSE/AVX ops for non-zero memsets (PR27100)
Move the memset check down to the CPU-with-slow-SSE-unaligned-memops case: this allows fast targets to take advantage of SSE/AVX instructions and prevents slow targets from stepping into a codegen sinkhole while trying to splat a byte into an XMM reg. Follow-on bugs exposed by the current codegen are: https://llvm.org/bugs/show_bug.cgi?id=27141 https://llvm.org/bugs/show_bug.cgi?id=27143 Differential Revision: http://reviews.llvm.org/D18566 llvm-svn: 265029
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud