[LCG] Spell the printing pass pipeline name for the lazy call graph

'lcg' instead of just 'cg'.

This makes it consistent with the analysis name of 'lcg'.

No functionality changed.

llvm-svn: 263103
This commit is contained in:
Chandler Carruth 2016-03-10 11:24:06 +00:00
parent 16d11785a5
commit b95def7491
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ MODULE_PASS("inferattrs", InferFunctionAttrsPass())
MODULE_PASS("invalidate<all>", InvalidateAllAnalysesPass())
MODULE_PASS("no-op-module", NoOpModulePass())
MODULE_PASS("print", PrintModulePass(dbgs()))
MODULE_PASS("print-cg", LazyCallGraphPrinterPass(dbgs()))
MODULE_PASS("print-lcg", LazyCallGraphPrinterPass(dbgs()))
MODULE_PASS("strip-dead-prototypes", StripDeadPrototypesPass())
MODULE_PASS("verify", VerifierPass())
#undef MODULE_PASS

View File

@ -1,4 +1,4 @@
; RUN: opt -disable-output -passes=print-cg %s 2>&1 | FileCheck %s
; RUN: opt -disable-output -passes=print-lcg %s 2>&1 | FileCheck %s
;
; Basic validation of the call graph analysis used in the new pass manager.

View File

@ -1,4 +1,4 @@
; RUN: opt -S -disable-output -passes=print-cg < %s 2>&1 | FileCheck %s
; RUN: opt -S -disable-output -passes=print-lcg < %s 2>&1 | FileCheck %s
declare void @llvm.experimental.patchpoint.void(i64, i32, i8*, i32, ...)
declare token @llvm.experimental.gc.statepoint.p0f_isVoidf(i64, i32, void ()*, i32, i32, ...)