OSDN Git Service

[LAA, LV] Port to new streaming interface for opt remarks. Update LV
authorAdam Nemet <anemet@apple.com>
Fri, 30 Sep 2016 00:01:30 +0000 (00:01 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 30 Sep 2016 00:01:30 +0000 (00:01 +0000)
commit858cc931c4bd2dd2a7a65fea7912610cc54d26c5
tree7dd096c41e30e51954d07dd929dd5ecbd560efd8
parent381c640f82639ff0efd881f40ea63d15d987bed7
[LAA, LV] Port to new streaming interface for opt remarks.  Update LV

(Recommit after making sure IsVerbose gets properly initialized in
DiagnosticInfoOptimizationBase.  See previous commit that takes care of
this.)

OptimizationRemarkAnalysis directly takes the role of the report that is
generated by LAA.

Then we need the magic to be able to turn an LAA remark into an LV
remark.  This is done via a new OptimizationRemark ctor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282813 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
include/llvm/IR/DiagnosticInfo.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp