<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<div class="moz-cite-prefix">On 06/27/2017 01:48 PM, Brian Gesiak
via llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAN7MxmWaGQuai-oHjRjyPz+73k+5foWXFQ6bQ6AsknK4gEiwSA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Adam, thanks for all the suggestions!
<div><br>
</div>
<div>One nice aspect of the `-Rpass` family of options is that I
can filter based on what I want. If I only want to see which
inlines I missed, I could use `clang -Rpass-missed="inline"`,
for example. On the other hand, optimization remark YAML
always include remarks from all passes (as far as I can tell),
which increases the amount of time it takes opt-viewer.py and
other tools to parse. Would you be open to including options
to, for example, only emit optimization remarks related to
loop vectorization, or to not emit any analysis remarks? Or is
it important that the YAML always include all remarks?</div>
</div>
</blockquote>
<br>
I don't object to adding some kind of filtering option, but in
general it won't help. An important goal here is to provide analysis
(and other) tools to users that present this information at a higher
level. The users won't, and shouldn't, know exactly what kinds of
messages the tools use. This is already somewhat true for
llvm-opt-report, and will be even more true in the future.<br>
<br>
-Hal<br>
<br>
<blockquote
cite="mid:CAN7MxmWaGQuai-oHjRjyPz+73k+5foWXFQ6bQ6AsknK4gEiwSA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Let me know what you think! In the meantime, I'll try to
add the progress bar you mention in <a moz-do-not-send="true"
href="http://llvm.org/PR33522">llvm.org/PR33522</a>. Thanks!</div>
<div><br>
</div>
<div>- Brian Gesiak</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</body>
</html>