Skip to content

Commit 5d31a3e

Browse files
admitricigcbot
authored andcommitted
Change CodeScheduling output stream
Change CodeScheduling pass output stream to outs() in presence of PrintToConsole option.
1 parent 646fba4 commit 5d31a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/CodeScheduling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ IGC_INITIALIZE_PASS_END(CodeScheduling, PASS_FLAG, PASS_DESCRIPTION, PASS_CFG_ON
123123
char CodeScheduling::ID = 0;
124124
CodeScheduling::CodeScheduling() : FunctionPass(ID), LogStringStream(Log) {
125125
if (IGC_IS_FLAG_ENABLED(PrintToConsole)) {
126-
LogStream = &IGC::Debug::ods();
126+
LogStream = &llvm::outs();
127127
} else {
128128
LogStream = &LogStringStream;
129129
}

0 commit comments

Comments
 (0)