From b95def749141e0d5c5985be74c3fb2a4ae308fb0 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 10 Mar 2016 11:24:06 +0000 Subject: [PATCH] [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 --- llvm/lib/Passes/PassRegistry.def | 2 +- llvm/test/Analysis/LazyCallGraph/basic.ll | 2 +- llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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, ...)