[llvm] r318257 - [docs] Document a way to simplify names in bugpoint output

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 22:52:55 PST 2017


On Tue, Nov 14, 2017 at 6:58 PM, Vedant Kumar via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: vedantk
> Date: Tue Nov 14 18:58:45 2017
> New Revision: 318257
>
> URL: http://llvm.org/viewvc/llvm-project?rev=318257&view=rev
> Log:
> [docs] Document a way to simplify names in bugpoint output
>
> Modified:
>     llvm/trunk/docs/Bugpoint.rst
>
> Modified: llvm/trunk/docs/Bugpoint.rst
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Bugpoint.rst?rev=318257&r1=318256&r2=318257&view=diff
> ==============================================================================
> --- llvm/trunk/docs/Bugpoint.rst (original)
> +++ llvm/trunk/docs/Bugpoint.rst Tue Nov 14 18:58:45 2017
> @@ -151,6 +151,9 @@ non-obvious ways.  Here are some hints a
>    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.
> +

An alternative would be `opt -metarenamer` (strip actually drops the
names making the textual IR harder to read).

Thanks,

--
Davide


More information about the llvm-commits mailing list