forked from OSchip/llvm-project
250de7388b
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 |