1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

llc: Initialize more passes

Targets can add these. Initialize them so -print-before/-print-after
etc. work.

llvm-svn: 292195
This commit is contained in:
Matt Arsenault 2017-01-17 05:11:25 +00:00
parent 4453349532
commit 3255974ae9

View File

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