llvm.org GIT mirror llvm / 275c85f
Fix llc's -print-before=pass and -print-after=pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159227 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 8 years ago
2 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: not llc --help-hidden |& FileCheck %s
1
2 ; CHECK: -print-after
3 ; CHECK-NOT: -print-after-all
4 ; CHECK: =simple-register-coalescing
5 ; CHECK: -print-after-all
352352 InitializeAllAsmPrinters();
353353 InitializeAllAsmParsers();
354354
355 // Initialize codegen so that the -print-after and -print-before options
356 // work.
357 initializeCodeGen(*PassRegistry::getPassRegistry());
358
355359 // Register the target printer for --version.
356360 cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);
357361