[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
This commit is contained in:
Martin Elshuber 2018-11-19 18:35:31 +00:00
parent d11406b457
commit 418c4bb296

View File

@ -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;
}