diff options
author | David Sherwood <david.sherwood@arm.com> | 2021-09-30 09:17:16 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2021-10-19 15:18:55 +0100 |
commit | 5ea35791e6642f6160819c930f79b0f57ad0e907 (patch) | |
tree | 15a2d887e8c1dc80fbc4a75036b8a9c65133f580 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 23db763b7dadbf99cb46c66c855651ac760e56db (diff) | |
download | llvm-5ea35791e6642f6160819c930f79b0f57ad0e907.zip llvm-5ea35791e6642f6160819c930f79b0f57ad0e907.tar.gz llvm-5ea35791e6642f6160819c930f79b0f57ad0e907.tar.bz2 |
[AArch64] Split out processor/tuning features
Following on from an earlier patch that introduced support for -mtune
for AArch64 backends, this patch splits out the tuning features
from the processor features. This gives us the ability to enable
architectural feature set A for a given processor with "-mcpu=A"
and define the set of tuning features B with "-mtune=B".
It's quite difficult to write a test that proves we select the
right features according to the tuning attribute because most
of these relate to scheduling. I have created a test here:
CodeGen/AArch64/misched-fusion-addr-tune.ll
that demonstrates the different scheduling choices based upon
the tuning.
Differential Revision: https://reviews.llvm.org/D111551
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions