[llvm] r298120 - [PGO] Change the internal options description. nfc.

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 13:51:45 PDT 2017


Author: xur
Date: Fri Mar 17 15:51:44 2017
New Revision: 298120

URL: http://llvm.org/viewvc/llvm-project?rev=298120&view=rev
Log:
[PGO] Change the internal options description. nfc.

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp?rev=298120&r1=298119&r2=298120&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp Fri Mar 17 15:51:44 2017
@@ -176,9 +176,11 @@ static cl::opt<bool>
                               "display to only one function, use "
                               "filtering option -view-bfi-func-name."));
 
-// Command line option to enable/disable memop intrinsic calls..
-static cl::opt<bool> PGOInstrMemOP("pgo-instr-memop", cl::init(true),
-                                   cl::Hidden);
+// Command line option to enable/disable memop intrinsic call.size profiling.
+static cl::opt<bool>
+    PGOInstrMemOP("pgo-instr-memop", cl::init(true), cl::Hidden,
+                  cl::desc("Use this option to turn on/off "
+                           "memory instrinsic size profiling."));
 
 // Command line option to turn on CFG dot dump after profile annotation.
 // Defined in Analysis/BlockFrequencyInfo.cpp:  -pgo-view-counts




More information about the llvm-commits mailing list