ValueTracking: Forward getConstantStringInfo's TrimAtNul param into recursive invocation
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 21 Mar 2015 15:36:06 +0000 (15:36 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 21 Mar 2015 15:36:06 +0000 (15:36 +0000)
commit0248a3e54929512b973b6e34636cace1f8970e12
tree10b9c5c6a8ccb5f7ed075e8f670073d603c0872d
parent307cb8fe5deb57f3d57cfe4e92d65de3bf522186
ValueTracking: Forward getConstantStringInfo's TrimAtNul param into recursive invocation

Currently this is only used to tweak the backend's memcpy inlining
heuristics, testing that isn't very helpful. A real test case will
follow in the next commit, where this behavior would cause a real
miscompilation.

llvm-svn: 232895
llvm/lib/Analysis/ValueTracking.cpp