OSDN Git Service

[OptDiag,LV] Add hotness attribute to analysis remarks
authorAdam Nemet <anemet@apple.com>
Wed, 20 Jul 2016 21:44:26 +0000 (21:44 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 20 Jul 2016 21:44:26 +0000 (21:44 +0000)
commit957976efe65c8e196dd1164dc060dfcdb3bf7df8
treee7e429c7257445aed175d6c864ab196cb2ea3ed7
parentef4767cee4222c5a2bb7f5751d218040c26ecb59
[OptDiag,LV] Add hotness attribute to analysis remarks

The earlier change added hotness attribute to missed-optimization
remarks.  This follows up with the analysis remarks (the ones explaining
the reason for the missed optimization).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276192 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
include/llvm/Analysis/OptimizationDiagnosticInfo.h
include/llvm/IR/DiagnosticInfo.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Analysis/OptimizationDiagnosticInfo.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/diag-with-hotness-info-2.ll [new file with mode: 0644]