diff options
| author | Diego Novillo <dnovillo@google.com> | 2014-04-16 16:53:41 +0000 |
|---|---|---|
| committer | Diego Novillo <dnovillo@google.com> | 2014-04-16 16:53:41 +0000 |
| commit | b902acb16cdcac7a13599ce2948046b565ea1748 (patch) | |
| tree | 5cebccdf050742b39df8e47e36208a2bd0b08749 /lib/Transforms/Utils/LoopSimplify.cpp | |
| parent | 685d6998701dd3693b26d091570231bf51c95bdb (diff) | |
| download | llvm-b902acb16cdcac7a13599ce2948046b565ea1748.tar.gz llvm-b902acb16cdcac7a13599ce2948046b565ea1748.tar.bz2 llvm-b902acb16cdcac7a13599ce2948046b565ea1748.tar.xz | |
Allow diagnostic handlers to check for optimization remarks.
Summary:
When optimization remarks are enabled via the driver flag -Rpass, we
should allow the FE diagnostic handler to check if the given pass name
needs a diagnostic.
We were unconditionally checking the pattern defined in opt's
-pass-remarks flag. This was causing the FE to not emit any diagnostics.
Reviewers: qcolombet
CC: llvm-commits
Differential Revision: http://reviews.llvm.org/D3362
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
