[llvm] r347252 - Fix unused function warning.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 19 11:18:00 PST 2018


Author: rksimon
Date: Mon Nov 19 11:18:00 2018
New Revision: 347252

URL: http://llvm.org/viewvc/llvm-project?rev=347252&view=rev
Log:
Fix unused function warning.

Modified:
    llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp

Modified: llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp?rev=347252&r1=347251&r2=347252&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp (original)
+++ llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp Mon Nov 19 11:18:00 2018
@@ -1047,12 +1047,6 @@ public:
 #endif
 };
 
-#ifndef NDEBUG
-static raw_ostream &operator<<(raw_ostream &OS, const VectorInfo &S) {
-  S.print(OS);
-  return OS;
-}
-#endif
 } // anonymous namespace
 
 bool InterleavedLoadCombineImpl::findPattern(




More information about the llvm-commits mailing list