[PATCH] D34390: [SCEV][NFC] Fix a misleading description of AddOpsInlineThreshold

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 01:32:31 PDT 2017


mkazantsev created this revision.
Herald added subscribers: mzolotukhin, sanjoy.

The description of this option was copy-pasted from another one and does not
correspond to reality.


https://reviews.llvm.org/D34390

Files:
  lib/Analysis/ScalarEvolution.cpp


Index: lib/Analysis/ScalarEvolution.cpp
===================================================================
--- lib/Analysis/ScalarEvolution.cpp
+++ lib/Analysis/ScalarEvolution.cpp
@@ -130,7 +130,7 @@
 
 static cl::opt<unsigned> AddOpsInlineThreshold(
     "scev-addops-inline-threshold", cl::Hidden,
-    cl::desc("Threshold for inlining multiplication operands into a SCEV"),
+    cl::desc("Threshold for inlining addition operands into a SCEV"),
     cl::init(500));
 
 static cl::opt<unsigned> MaxSCEVCompareDepth(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34390.103171.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170620/5c344b0a/attachment.bin>


More information about the llvm-commits mailing list