aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-11-10 19:44:18 +0000
committerFlorian Hahn <flo@fhahn.com>2020-11-11 11:25:05 +0000
commit250de7388b34500b1597d25af5c42f718ed28575 (patch)
tree5eaa3c8c193908d76b2728fcccec9b6b9eb4ab0b /clang/lib/Frontend/CompilerInvocation.cpp
parentffbbfc76ca209934321f6a8b26793119598354fe (diff)
downloadllvm-250de7388b34500b1597d25af5c42f718ed28575.zip
llvm-250de7388b34500b1597d25af5c42f718ed28575.tar.gz
llvm-250de7388b34500b1597d25af5c42f718ed28575.tar.bz2
[llvm-reduce] Add reduction for special globals like llvm.used.
This patch adds a reduction of 'special' globals that lead to further reductions (e.g. alias or regular globals reduction) being less efficient because there are special constraints on values referenced in those special globals. For example, values in @llvm.used and @llvm.compiler.used need to be named, so replacing all uses of an alias/global with undef or a different unnamed constant results in invalid IR. More details: https://llvm.org/docs/LangRef.html#intrinsic-global-variables Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D90302
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions