summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
diff options
context:
space:
mode:
authorMartin Elshuber <martin.elshuber@theobroma-systems.com>2018-11-19 18:35:31 +0000
committerMartin Elshuber <martin.elshuber@theobroma-systems.com>2018-11-19 18:35:31 +0000
commit5a47dc607e227fba76a572d79260fb176eb023c3 (patch)
treedf27892c898cd6a8daa65d0f6826d652a2b5a8a3 /llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
parent311bbcd53556203d960e3c9bc50f5f7eac11959f (diff)
downloadbcm5719-llvm-5a47dc607e227fba76a572d79260fb176eb023c3.tar.gz
bcm5719-llvm-5a47dc607e227fba76a572d79260fb176eb023c3.zip
[InterleavedLoadCombine] Fix warnings
* remove unused function * fix compare llvm-svn: 347241
Diffstat (limited to 'llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp')
-rw-r--r--llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
index e4edfb6d6e6..1b23c9ef1a6 100644
--- a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud