Skip to content

Commit 3ea92ea

Browse files
committed
Fix MFS warning format
WithColor::warning() does not append new line automatically.
1 parent 44ba6eb commit 3ea92ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/TargetPassConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ void TargetPassConfig::addMachinePasses() {
12461246
// enabled, this may result in performance regression.
12471247
WithColor::warning()
12481248
<< "Using AutoFDO without FSDiscriminator for MFS may regress "
1249-
"performance.";
1249+
"performance.\n";
12501250
}
12511251
}
12521252
addPass(createMachineFunctionSplitterPass());

0 commit comments

Comments
 (0)