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:
parent
4453349532
commit
3255974ae9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user