[PPCGCodeGen] Change printf to outs() to prevent garbled output. [NFC]
authorSiddharth Bhat <siddu.druid@gmail.com>
Wed, 4 Jul 2018 16:51:27 +0000 (16:51 +0000)
committerSiddharth Bhat <siddu.druid@gmail.com>
Wed, 4 Jul 2018 16:51:27 +0000 (16:51 +0000)
commit936c74ad0d59570f2a7d15709fd4039bfcb7cd70
tree82ae2ba260dd783103d453259585f3769fc14732
parent8ab5c2db8a7345143fc994718303fda2a63f90c3
[PPCGCodeGen] Change printf to outs() to prevent garbled output. [NFC]

Summary:
It appears that llvm uses unbuffered C++ streams. So, we should not
mix C and C++ stream operations, because that will give us mixed
up output.

Reviewers: efriedma, jdoerfert, Meinersbur, gareevroman, sebpop, zinob, huihuiz, pollydev, grosser, singam-sanjay, philip.pfaffe

Reviewed By: philip.pfaffe

Subscribers: nemanjai, kbarton

Differential Revision: https://reviews.llvm.org/D40126

llvm-svn: 336288
polly/lib/CodeGen/PPCGCodeGeneration.cpp