summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorAndreas Simbuerger <simbuerg@fim.uni-passau.de>2014-06-26 10:06:40 +0000
committerAndreas Simbuerger <simbuerg@fim.uni-passau.de>2014-06-26 10:06:40 +0000
commit5569bf300dc1cf5c43223805f8adc76170c800fa (patch)
treebf49953ea0bb7d6776dd3bdb1524fcf5a8bed55f /llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
parent99281a061522f64d666ba3858d21764107ebab2a (diff)
downloadbcm5719-llvm-5569bf300dc1cf5c43223805f8adc76170c800fa.tar.gz
bcm5719-llvm-5569bf300dc1cf5c43223805f8adc76170c800fa.zip
Support the new DiagnosticRemarks
Add support for generating optimization remarks after completing the detection of Scops. The goal is to provide end-users with useful hints about opportunities that help to increase the size of the detected Scops in their code. By default the remark is unspecified and the debug location is empty. Future patches have to expand on the messages generated. This patch brings a simple test case for ReportFuncCall to demonstrate the feature. Reports all missed opportunities to increase the size/number of valid Scops: clang <...> -Rpass-missed="polly-detect" <...> opt <...> -pass-remarks-missed="polly-detect" <...> Reports beginning and end of all valid Scops: clang <...> -Rpass="polly-detect" <...> opt <...> -pass-remarks="polly-detect" <...> Differential Revision: http://reviews.llvm.org/D4171 llvm-svn: 211769
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud