Go to file
Chandler Carruth 98c51cbee1 [x86] Teach the "generic" x86 CPU to avoid patterns that are slow on
widely used processors.

This occured to me when I saw that we were generating 'inc' and 'dec'
when for Haswell and newer we shouldn't. However, there were a few "X is
slow" things that we should probably just set.

I've avoided any of the "X is fast" features because most of those would
be pretty serious regressions on processors where X isn't actually fast.
The slow things are likely to be negligible costs on processors where
these aren't slow and a significant win when they are slow.

In retrospect this seems somewhat obvious. Not sure why we didn't do
this a long time ago.

Differential Revision: https://reviews.llvm.org/D36947

llvm-svn: 311318
2017-08-21 08:45:22 +00:00
clang Allow thiscall attribute in test/Tooling/clang-diff-ast.cpp 2017-08-20 20:13:33 +00:00
clang-tools-extra [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
compiler-rt Remove "%T" from ASan Darwin tests. 2017-08-20 18:31:00 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier 2017-08-16 17:09:00 +00:00
libcxx [NFC] remove trailing WS 2017-08-20 10:38:55 +00:00
libcxxabi Revert "[libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return" 2017-08-16 22:05:54 +00:00
libunwind [CMake] Allow overriding lib dir suffix independently from LLVM 2017-08-08 00:37:59 +00:00
lld [ELF] - Recommit "[ELF] - Do not forget to fill last bytes of PT_LOADs with trap instructions." 2017-08-21 08:31:14 +00:00
lldb [Plugins/ObjC] Remove more semicolons to placate -Wpedantic. NFCI. 2017-08-19 16:32:19 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [x86] Teach the "generic" x86 CPU to avoid patterns that are slow on 2017-08-21 08:45:22 +00:00
openmp Use va_copy instead of __va_copy to fix building libomp against musl libc 2017-08-19 23:53:36 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [MatMul] Make MatMul detection independent of internal isl representations. 2017-08-20 21:31:11 +00:00