From 418c4bb2960c80e8a8b07a725703b1bcc2695610 Mon Sep 17 00:00:00 2001 From: Martin Elshuber Date: Mon, 19 Nov 2018 18:35:31 +0000 Subject: [PATCH] [InterleavedLoadCombine] Fix warnings * remove unused function * fix compare git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347241 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/InterleavedLoadCombinePass.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/CodeGen/InterleavedLoadCombinePass.cpp b/lib/CodeGen/InterleavedLoadCombinePass.cpp index e4edfb6d6e6..1b23c9ef1a6 100644 --- a/lib/CodeGen/InterleavedLoadCombinePass.cpp +++ b/lib/CodeGen/InterleavedLoadCombinePass.cpp @@ -619,11 +619,6 @@ private: } }; -static raw_ostream &operator<<(raw_ostream &OS, const Polynomial &P) { - P.print(OS); - return OS; -} - /// VectorInfo stores abstract the following information for each vector /// element: /// @@ -810,7 +805,7 @@ public: Result.PV = LHS.PV; } // Both operands produced sensible results? - else if ((LHS.BB == RHS.BB) && (LHS.PV == LHS.PV)) { + else if ((LHS.BB == RHS.BB) && (LHS.PV == RHS.PV)) { Result.BB = LHS.BB; Result.PV = LHS.PV; }