SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for printf->puts, which correctly sets the unnamed_addr bit on the resulting GlobalVariable.

Fixes PR11264.

llvm-svn: 143289
GitOrigin-RevId: 594ee779641786036eb0409cba30a0f100161378
2 files changed