diff --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def index 51c7ff6cf89d..0bc3739f3f1f 100644 --- a/llvm/lib/Passes/PassRegistry.def +++ b/llvm/lib/Passes/PassRegistry.def @@ -32,7 +32,7 @@ MODULE_PASS("inferattrs", InferFunctionAttrsPass()) MODULE_PASS("invalidate", 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 diff --git a/llvm/test/Analysis/LazyCallGraph/basic.ll b/llvm/test/Analysis/LazyCallGraph/basic.ll index edd45ea0e1f9..0d05a7a6514e 100644 --- a/llvm/test/Analysis/LazyCallGraph/basic.ll +++ b/llvm/test/Analysis/LazyCallGraph/basic.ll @@ -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. diff --git a/llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll b/llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll index ce6d63b7aff3..f5dc72ff9e97 100644 --- a/llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll +++ b/llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll @@ -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, ...)