1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[llc] Fix -stop-after=consthoist initializing the pass.

llvm-svn: 288864
This commit is contained in:
Davide Italiano 2016-12-06 23:49:58 +00:00
parent 432b06cd5e
commit c73cdfec3c

View File

@ -264,6 +264,7 @@ int main(int argc, char **argv) {
initializeLowerIntrinsicsPass(*Registry); initializeLowerIntrinsicsPass(*Registry);
initializeCountingFunctionInserterPass(*Registry); initializeCountingFunctionInserterPass(*Registry);
initializeUnreachableBlockElimLegacyPassPass(*Registry); initializeUnreachableBlockElimLegacyPassPass(*Registry);
initializeConstantHoistingLegacyPassPass(*Registry);
// Register the target printer for --version. // Register the target printer for --version.
cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion); cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);