[PATCH] D24587: [RFC] Output optimization remarks in YAML
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 12:13:03 PDT 2016
anemet updated this revision to Diff 72535.
anemet added a comment.
Addresses Hal's comments. I also got this ready for a formal review, please
take a look.
A few notes:
- The format is slightly changed with the named values and the remark name. I will update the review description to reflect this. The testcase is of course already updated.
- For the remark name I used "NotInlined" rather than "InlinerNotInlined" since the pass name is already provided
- Added support for IsVerbose in the streaming API. There is a new FIXME to handle IsVerbose in the backend users rather than in the backend. I will do this in a follow-up.
https://reviews.llvm.org/D24587
Files:
include/llvm/Analysis/OptimizationDiagnosticInfo.h
include/llvm/IR/DiagnosticInfo.h
include/llvm/IR/LLVMContext.h
lib/Analysis/OptimizationDiagnosticInfo.cpp
lib/IR/DiagnosticInfo.cpp
lib/IR/LLVMContext.cpp
lib/IR/LLVMContextImpl.h
lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/optimization-remarks-yaml.ll
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24587.72535.patch
Type: text/x-patch
Size: 21012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160926/06c0b734/attachment.bin>
More information about the llvm-commits
mailing list