1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-reduce
Florian Hahn 2210d6cb66 [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
2020-11-11 11:25:05 +00:00
..
deltas [llvm-reduce] Add reduction for special globals like llvm.used. 2020-11-11 11:25:05 +00:00
CMakeLists.txt [llvm-reduce] Add reduction for special globals like llvm.used. 2020-11-11 11:25:05 +00:00
DeltaManager.h [llvm-reduce] Add reduction for special globals like llvm.used. 2020-11-11 11:25:05 +00:00
llvm-reduce.cpp [llvm-reduce] make llvm-reduce save the best reduction it has when it crashes 2020-08-22 19:16:43 +02:00
LLVMBuild.txt
TestRunner.cpp
TestRunner.h