From 9ad5717fcc19558342dde9af72204570c7ea3ad1 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 19 Nov 2018 18:57:49 +0000 Subject: [PATCH] Add missing stream operator for Polynomial class to fix debug builds. llvm-svn: 347249 --- llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp index 1b23c9e..48ec402 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: /// -- 2.7.4