[OptDiag,LV] Add hotness attribute to the derived analysis remarks
authorAdam Nemet <anemet@apple.com>
Wed, 20 Jul 2016 23:50:32 +0000 (23:50 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 20 Jul 2016 23:50:32 +0000 (23:50 +0000)
commit0e0e2d5d2640c629741cab88ae3d9736f6900bb4
treed692947d8597a12d3f01a9759d0b903c41173333
parent5f3c70307d7e195b802048a04e8c33c8b2ff6a50
[OptDiag,LV] Add hotness attribute to the derived analysis remarks

This includes FPCompute and Aliasing.

Testcase is based on no_fpmath.ll.

llvm-svn: 276211
llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h
llvm/include/llvm/IR/DiagnosticInfo.h
llvm/lib/Analysis/OptimizationDiagnosticInfo.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/X86/no_fpmath_with_hotness.ll [new file with mode: 0644]