mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
bcf1e6754c
The limitation of the current pass that it skips initializer-less GV's seems arbitrary, in all the reduced cases i (personally) looked at, the globals weren't needed, yet they were kept. So let's do two things: 1. allow reducing initializer-less globals 2. before reducing globals, reduce their initializers, much like we do function bodies |
||
---|---|---|
.. | ||
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 | ||
ReduceGlobalVarInitializers.cpp | ||
ReduceGlobalVarInitializers.h | ||
ReduceGlobalVars.cpp | ||
ReduceGlobalVars.h | ||
ReduceInstructions.cpp | ||
ReduceInstructions.h | ||
ReduceMetadata.cpp | ||
ReduceMetadata.h | ||
ReduceOperandBundles.cpp | ||
ReduceOperandBundles.h | ||
ReduceSpecialGlobals.cpp | ||
ReduceSpecialGlobals.h |