mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
2210d6cb66
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 |
||
---|---|---|
.. | ||
Delta.cpp | ||
Delta.h | ||
ReduceAliases.cpp | ||
ReduceAliases.h | ||
ReduceArguments.cpp | ||
ReduceArguments.h | ||
ReduceAttributes.cpp | ||
ReduceAttributes.h | ||
ReduceBasicBlocks.cpp | ||
ReduceBasicBlocks.h | ||
ReduceFunctionBodies.cpp | ||
ReduceFunctionBodies.h | ||
ReduceFunctions.cpp | ||
ReduceFunctions.h | ||
ReduceGlobalVars.cpp | ||
ReduceGlobalVars.h | ||
ReduceInstructions.cpp | ||
ReduceInstructions.h | ||
ReduceMetadata.cpp | ||
ReduceMetadata.h | ||
ReduceOperandBundles.cpp | ||
ReduceOperandBundles.h | ||
ReduceSpecialGlobals.cpp | ||
ReduceSpecialGlobals.h |