diff options
author | Adam Nemet <anemet@apple.com> | 2017-02-23 21:17:31 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2017-02-23 21:17:31 +0000 |
commit | bf0e69532c836fc6ba6af4a31d7fb4306677261b (patch) | |
tree | 13ef4f6af726b7783ac178282094672c7bb8fce0 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 9c42a8d43e04084b4613c83469d6cdb70d789322 (diff) | |
download | bcm5719-llvm-bf0e69532c836fc6ba6af4a31d7fb4306677261b.tar.gz bcm5719-llvm-bf0e69532c836fc6ba6af4a31d7fb4306677261b.zip |
[LV] Remove unused VectorizationReport
The need for this removed when I converted everything to use the opt-remark
classes directly with the streaming interface.
llvm-svn: 296016
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index d541d5f193d..ca6a4c8c3e9 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -267,21 +267,6 @@ static bool hasCyclesInLoopBody(const Loop &L) { return false; } -/// \brief This modifies LoopAccessReport to initialize message with -/// loop-vectorizer-specific part. -class VectorizationReport : public LoopAccessReport { -public: - VectorizationReport(Instruction *I = nullptr) - : LoopAccessReport("loop not vectorized: ", I) {} - - /// \brief This allows promotion of the loop-access analysis report into the - /// loop-vectorizer report. It modifies the message to add the - /// loop-vectorizer-specific part of the message. - explicit VectorizationReport(const LoopAccessReport &R) - : LoopAccessReport(Twine("loop not vectorized: ") + R.str(), - R.getInstr()) {} -}; - /// A helper function for converting Scalar types to vector types. /// If the incoming type is void, we return void. If the VF is 1, we return /// the scalar type. |