summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-19 18:57:49 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-19 18:57:49 +0000
commit9ad5717fcc19558342dde9af72204570c7ea3ad1 (patch)
tree6947da5ada330e1f07090a7449c8aa43b25be570 /llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
parenta5e0380c30dfb06a4a1c3d128f458690a754404a (diff)
downloadbcm5719-llvm-9ad5717fcc19558342dde9af72204570c7ea3ad1.tar.gz
bcm5719-llvm-9ad5717fcc19558342dde9af72204570c7ea3ad1.zip
Add missing stream operator for Polynomial class to fix debug builds.
llvm-svn: 347249
Diffstat (limited to 'llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp')
-rw-r--r--llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
index 1b23c9ef1a6..48ec40214ab 100644
--- a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
+++ b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
@@ -619,6 +619,13 @@ private:
}
};
+#ifndef NDEBUG
+static raw_ostream &operator<<(raw_ostream &OS, const Polynomial &S) {
+ S.print(OS);
+ return OS;
+}
+#endif
+
/// VectorInfo stores abstract the following information for each vector
/// element:
///
OpenPOWER on IntegriCloud