[llvm-dev] Opt vs Clang
Johannes Doerfert via llvm-dev
llvm-dev at lists.llvm.org
Fri Mar 13 23:19:37 PDT 2020
The opt flag does prevent opt from printing/saving the resulting IR. opt
will instead asks the passes to "print" a summary of what they did.
The clang flag enables and saves remarks
(https://clang.llvm.org/docs/UsersManual.html#options-to-emit-optimization-reports)
Remarks are printed by some passes while they perform their actions.
On 03/12, Ashwin Jose via llvm-dev wrote:
> What is the difference between the report generated by clang's
> -fsave-optimization-record flag and opt's -analyze flag?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
--
Johannes Doerfert
Researcher
Argonne National Laboratory
Lemont, IL 60439, USA
jdoerfert at anl.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200314/89f08a43/attachment.sig>
More information about the llvm-dev
mailing list