summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/arm-ras.c
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-08-21 08:45:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-08-21 08:45:22 +0000
commit98c51cbee13a3d85ccfafdc580ea6249d1c47b20 (patch)
treec865eba6e9e79869c0e287064125338b23eccdcd /clang/test/Driver/arm-ras.c
parent63dd5e0ef6fdf9adbd15049e6c467b675c5e561a (diff)
downloadbcm5719-llvm-98c51cbee13a3d85ccfafdc580ea6249d1c47b20.tar.gz
bcm5719-llvm-98c51cbee13a3d85ccfafdc580ea6249d1c47b20.zip
[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
Diffstat (limited to 'clang/test/Driver/arm-ras.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud