diff options
author | Adam Nemet <anemet@apple.com> | 2015-02-19 19:15:13 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2015-02-19 19:15:13 +0000 |
commit | 3e87634fd835cc809c19c5313c208b8e87bdf8a0 (patch) | |
tree | 79109cf188eb79e6c365a728d67b11516f711438 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 929c38e8ffbb77e82c2c59bb6fc1045a01224766 (diff) | |
download | bcm5719-llvm-3e87634fd835cc809c19c5313c208b8e87bdf8a0.tar.gz bcm5719-llvm-3e87634fd835cc809c19c5313c208b8e87bdf8a0.zip |
[LoopAccesses] Add missing const to APIs in VectorizationReport
When I split out LoopAccessReport from this, I need to create some temps
so constness becomes necessary.
This is part of the patchset that converts LoopAccessAnalysis into an
actual analysis pass.
llvm-svn: 229896
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 9ced65f13e1..e39375fa929 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -815,7 +815,7 @@ private: /// Report an analysis message to assist the user in diagnosing loops that are /// not vectorized. - void emitAnalysis(VectorizationReport &Message) { + void emitAnalysis(const VectorizationReport &Message) { VectorizationReport::emitAnalysis(Message, TheFunction, TheLoop, LV_NAME); } @@ -952,7 +952,7 @@ private: /// Report an analysis message to assist the user in diagnosing loops that are /// not vectorized. - void emitAnalysis(VectorizationReport &Message) { + void emitAnalysis(const VectorizationReport &Message) { VectorizationReport::emitAnalysis(Message, TheFunction, TheLoop, LV_NAME); } |