[MISched] Fix non-debug builds.
authorFrancesco Petrogalli <francesco.petrogalli@apple.com>
Wed, 14 Jun 2023 13:11:44 +0000 (15:11 +0200)
committerFrancesco Petrogalli <francesco.petrogalli@apple.com>
Wed, 14 Jun 2023 13:12:14 +0000 (15:12 +0200)
commit261a84f9cf98be80913c0da3f3dbd488b3125b3e
tree54bd4b47a8bb0076279e6befef415711d7b46c27
parente559f270d9a970ca2b61ddabe8dc336b327a2b6b
[MISched] Fix non-debug builds.

As reported in https://github.com/llvm/llvm-project/issues/63225, we
need to make sure we can use the `&operator<<` on instances of the
`ResourceSegments` class for builds that set `NDEBUG`.

Reviewed By: sylvestre.ledru

Differential Revision: https://reviews.llvm.org/D152817
llvm/include/llvm/CodeGen/MachineScheduler.h