diff options
author | Diego Novillo <dnovillo@google.com> | 2014-04-08 16:42:34 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2014-04-08 16:42:34 +0000 |
commit | a9298b22976513857f7c8ded491e67c6a95a04c9 (patch) | |
tree | 0056e02220998ef3308d2892cf14773fb8df5980 /llvm/lib/IR/LLVMContextImpl.cpp | |
parent | 1e25822f4d8fb8300e9292ef3d670e9d9803c83a (diff) | |
download | bcm5719-llvm-a9298b22976513857f7c8ded491e67c6a95a04c9.tar.gz bcm5719-llvm-a9298b22976513857f7c8ded491e67c6a95a04c9.zip |
Add support for optimization reports.
Summary:
This patch adds backend support for -Rpass=, which indicates the name
of the optimization pass that should emit remarks stating when it
made a transformation to the code.
Pass names are taken from their DEBUG_NAME definitions.
When emitting an optimization report diagnostic, the lack of debug
information causes the diagnostic to use "<unknown>:0:0" as the
location string.
This is the back end counterpart for
http://llvm-reviews.chandlerc.com/D3226
Reviewers: qcolombet
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3227
llvm-svn: 205774
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
0 files changed, 0 insertions, 0 deletions