[PATCH] D152817: [MISched] Fix non-debug builds.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 06:13:05 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG261a84f9cf98: [MISched] Fix non-debug builds. (authored by fpetrogalli).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152817/new/

https://reviews.llvm.org/D152817

Files:
  llvm/include/llvm/CodeGen/MachineScheduler.h


Index: llvm/include/llvm/CodeGen/MachineScheduler.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineScheduler.h
+++ llvm/include/llvm/CodeGen/MachineScheduler.h
@@ -815,7 +815,6 @@
                          const ResourceSegments &c2) {
     return c1._Intervals == c2._Intervals;
   }
-#ifndef NDEBUG
   friend llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
                                        const ResourceSegments &Segments) {
     os << "{ ";
@@ -824,7 +823,6 @@
     os << "}\n";
     return os;
   }
-#endif
 };
 
 /// Each Scheduling boundary is associated with ready queues. It tracks the


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152817.531299.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230614/23c13eae/attachment.bin>


More information about the llvm-commits mailing list