diff options
author | Adam Nemet <anemet@apple.com> | 2015-02-19 19:15:07 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2015-02-19 19:15:07 +0000 |
commit | 339f42b3960485d8b568ff4c54acfe1abeba4ec6 (patch) | |
tree | 75c7e51ed5281f7c227a210b364a1dd25fe227d1 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 3bfd93d78976290eeca5d2bd12870d42d279f050 (diff) | |
download | bcm5719-llvm-339f42b3960485d8b568ff4c54acfe1abeba4ec6.tar.gz bcm5719-llvm-339f42b3960485d8b568ff4c54acfe1abeba4ec6.zip |
[LoopAccesses] Change debug messages from LV to LAA
Also add pass name as an argument to VectorizationReport::emitAnalysis.
This is part of the patchset that converts LoopAccessAnalysis into an
actual analysis pass.
llvm-svn: 229894
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 6caaa236836..9ced65f13e1 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -816,7 +816,7 @@ private: /// Report an analysis message to assist the user in diagnosing loops that are /// not vectorized. void emitAnalysis(VectorizationReport &Message) { - VectorizationReport::emitAnalysis(Message, TheFunction, TheLoop); + VectorizationReport::emitAnalysis(Message, TheFunction, TheLoop, LV_NAME); } unsigned NumPredStores; @@ -953,7 +953,7 @@ private: /// Report an analysis message to assist the user in diagnosing loops that are /// not vectorized. void emitAnalysis(VectorizationReport &Message) { - VectorizationReport::emitAnalysis(Message, TheFunction, TheLoop); + VectorizationReport::emitAnalysis(Message, TheFunction, TheLoop, LV_NAME); } /// Values used only by @llvm.assume calls. |