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)
commit046c58a3ee788680dceb058caef9512369db0732
tree5dd07a835cd7c811bd20a92b3c19a12604a8ac1a
parentc58f32d9817332b9483734dc7eb9e70664617142
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232895 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp