summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-04 15:43:09 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-04 15:43:09 +0000
commit39e5a5695fd3e560565b40d1b60b4a1e78665875 (patch)
tree3945b3ad7cc4465a52e631ce891e42a057ddb79c /clang/lib/Frontend/CompilerInvocation.cpp
parentab60a2823f1a6548c17c57abbbafdb4ddb3bb785 (diff)
downloadbcm5719-llvm-39e5a5695fd3e560565b40d1b60b4a1e78665875.tar.gz
bcm5719-llvm-39e5a5695fd3e560565b40d1b60b4a1e78665875.zip
[RFC][patch 3/3] Add support for variant scheduling classes in llvm-mca.
This patch is the last of a sequence of three patches related to LLVM-dev RFC "MC support for variant scheduling classes". http://lists.llvm.org/pipermail/llvm-dev/2018-May/123181.html This fixes PR36672. The main goal of this patch is to teach llvm-mca how to solve variant scheduling classes. This patch does that, plus it adds new variant scheduling classes to the BtVer2 scheduling model to identify so-called zero-idioms (i.e. so-called dependency breaking instructions that are known to generate zero, and that are optimized out in hardware at register renaming stage). Without the BtVer2 change, this patch would not have had any meaningful tests. This patch is effectively the union of two changes: 1) a change that teaches llvm-mca how to resolve variant scheduling classes. 2) a change to the BtVer2 scheduling model that allows us to special-case packed XOR zero-idioms (this partially fixes PR36671). Differential Revision: https://reviews.llvm.org/D47374 llvm-svn: 333909
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud