summaryrefslogtreecommitdiffstats
path: root/llvm/docs/Bugpoint.rst
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-11-15 18:05:19 +0000
committerVedant Kumar <vsk@apple.com>2017-11-15 18:05:19 +0000
commit5321a278590f623d0ba71794fe04aaf609c24ade (patch)
treeda392e46f03ca9b35f0cb6a187ad0d7b34b8a1f8 /llvm/docs/Bugpoint.rst
parent9e11c4c957e019442db02444ab82ef01741059f0 (diff)
downloadbcm5719-llvm-5321a278590f623d0ba71794fe04aaf609c24ade.tar.gz
bcm5719-llvm-5321a278590f623d0ba71794fe04aaf609c24ade.zip
[docs] Mention opt -metarenamer in the bugpoint docs
Thanks to arsenm and davide for the suggestion! llvm-svn: 318318
Diffstat (limited to 'llvm/docs/Bugpoint.rst')
-rw-r--r--llvm/docs/Bugpoint.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/docs/Bugpoint.rst b/llvm/docs/Bugpoint.rst
index 3327c02b53f..27732e0fffb 100644
--- a/llvm/docs/Bugpoint.rst
+++ b/llvm/docs/Bugpoint.rst
@@ -151,8 +151,10 @@ non-obvious ways. Here are some hints and tips:
optimizations to be randomized and applied to the program. This process will
repeat until a bug is found or the user kills ``bugpoint``.
-* ``bugpoint`` can produce IR which contains long names. To simplify the names,
- run ``opt -strip -instnamer`` over the IR.
+* ``bugpoint`` can produce IR which contains long names. Run ``opt
+ -metarenamer`` over the IR to rename everything using easy-to-read,
+ metasyntactic names. Alternatively, run ``opt -strip -instnamer`` to rename
+ everything with very short (often purely numeric) names.
What to do when bugpoint isn't enough
=====================================
OpenPOWER on IntegriCloud