diff options
author | Adam Nemet <anemet@apple.com> | 2017-02-23 21:17:36 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2017-02-23 21:17:36 +0000 |
commit | 41b019a39c184a121f758420e22075ee82330f0b (patch) | |
tree | e245ffa15bdf9b7be3c117e3065d7e1efd9b105c /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | bf0e69532c836fc6ba6af4a31d7fb4306677261b (diff) | |
download | bcm5719-llvm-41b019a39c184a121f758420e22075ee82330f0b.tar.gz bcm5719-llvm-41b019a39c184a121f758420e22075ee82330f0b.zip |
[LAA] Remove unused LoopAccessReport
The need for this removed when I converted everything to use the opt-remark
classes directly with the streaming interface.
llvm-svn: 296017
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index ca6a4c8c3e9..739711eb897 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1520,14 +1520,6 @@ private: OptimizationRemarkEmitter &ORE; }; -static void emitAnalysisDiag(const Loop *TheLoop, - const LoopVectorizeHints &Hints, - OptimizationRemarkEmitter &ORE, - const LoopAccessReport &Message) { - const char *Name = Hints.vectorizeAnalysisPassName(); - LoopAccessReport::emitAnalysis(Message, TheLoop, Name, ORE); -} - static void emitMissedWarning(Function *F, Loop *L, const LoopVectorizeHints &LH, OptimizationRemarkEmitter *ORE) { @@ -1741,14 +1733,6 @@ private: void addInductionPhi(PHINode *Phi, const InductionDescriptor &ID, SmallPtrSetImpl<Value *> &AllowedExit); - /// Report an analysis message to assist the user in diagnosing loops that are - /// not vectorized. These are handled as LoopAccessReport rather than - /// VectorizationReport because the << operator of VectorizationReport returns - /// LoopAccessReport. - void emitAnalysis(const LoopAccessReport &Message) const { - emitAnalysisDiag(TheLoop, *Hints, *ORE, Message); - } - /// Create an analysis remark that explains why vectorization failed /// /// \p RemarkName is the identifier for the remark. If \p I is passed it is |