[LAA, LV] Port to new streaming interface for opt remarks. Update LV
authorAdam Nemet <anemet@apple.com>
Thu, 29 Sep 2016 20:12:18 +0000 (20:12 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 29 Sep 2016 20:12:18 +0000 (20:12 +0000)
commitc1d21817d1541bf6d2f443862d5cd88ddabacef5
tree0eeff543fe7df34ac432cdfcbc2e242302a6968e
parent97833cf5ee967b61079bf2420c79b5496f6fcb81
[LAA, LV] Port to new streaming interface for opt remarks.  Update LV

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.

llvm-svn: 282758
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/include/llvm/IR/DiagnosticInfo.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp