[OptDiag] Take the IR Value as a const pointer
authorAdam Nemet <anemet@apple.com>
Wed, 20 Jul 2016 21:44:22 +0000 (21:44 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 20 Jul 2016 21:44:22 +0000 (21:44 +0000)
commit6100d16e7d63b377038a1da54bc25c66779bdafc
tree146631d6238fc4a8fcf4cc50886c614b2a88f376
parent78d1091c918ae8493d70e955d444a5c52c6963b5
[OptDiag] Take the IR Value as a const pointer

This helps because LoopAccessReport is passed around as a const
reference and we derive the basic block passed as the Value parameter
from the instruction in LoopAccessReport.

llvm-svn: 276191
llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h
llvm/lib/Analysis/OptimizationDiagnosticInfo.cpp