SimplifyLibCalls: Add missing legalize check on various printf to puts and
authorDaniel Dunbar <daniel@zuster.org>
Sat, 12 Feb 2011 18:19:57 +0000 (18:19 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 12 Feb 2011 18:19:57 +0000 (18:19 +0000)
commitd02be24cadbba4754df2f3e83473b72c5de698dd
treee1f4053096a4171bd168aa64681ef6e784fc77dc
parent43186a4ea9fe51ca965faf9f04f7add6799ab6c2
SimplifyLibCalls: Add missing legalize check on various printf to puts and
putchar transforms, their return values are not compatible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125442 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/Printf.ll