Without debug macros enabled, the raw_ostream operator<< overload
is unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303852
91177308-0d34-0410-b5e6-
96231b3b80d8
}
};
+#ifndef NDEBUG
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
const SinkingInstructionCandidate &C) {
OS << "<Candidate Cost=" << C.Cost << " #Blocks=" << C.NumBlocks
<< " #Insts=" << C.NumInstructions << " #PHIs=" << C.NumPHIs << ">";
return OS;
}
+#endif
//===----------------------------------------------------------------------===//