From 1629965964b0e5c786c16b5af15f1d53059183ed Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Wed, 3 Apr 2013 15:33:45 +0000 Subject: Measure time that IR parsing took as part of the -time-passes measurement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178662 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/PassManager.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/IR/PassManager.cpp') diff --git a/lib/IR/PassManager.cpp b/lib/IR/PassManager.cpp index 5a8df703db..3c968aac16 100644 --- a/lib/IR/PassManager.cpp +++ b/lib/IR/PassManager.cpp @@ -1739,10 +1739,8 @@ bool PassManager::run(Module &M) { } //===----------------------------------------------------------------------===// -// TimingInfo Class - This class is used to calculate information about the -// amount of time each pass takes to execute. This only happens with -// -time-passes is enabled on the command line. -// +// TimingInfo implementation + bool llvm::TimePassesIsEnabled = false; static cl::opt EnableTiming("time-passes", cl::location(TimePassesIsEnabled), -- cgit v1.2.3