More libcall transformations:
authorEvan Cheng <evan.cheng@apple.com>
Fri, 16 Jun 2006 08:36:35 +0000 (08:36 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 16 Jun 2006 08:36:35 +0000 (08:36 +0000)
commit21abac2757087358249eec702ba93f1dde656cf2
tree87bb6f899472bbbaa96eae825d7052cda96708cb
parent952895243e79f57f1e5c2789ffacca8c8d3e4f02
More libcall transformations:
printf("%s\n", str) -> puts(str)
printf("%c", c) -> putchar(c)
Also fixed fprintf(file, "%c", c) -> fputc(c, file)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28815 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/SimplifyLibCalls.cpp