[msan] Propagate shadow through (x<0) and (x>=0) comparisons.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 29 Nov 2012 14:25:47 +0000 (14:25 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 29 Nov 2012 14:25:47 +0000 (14:25 +0000)
commit84af05e1ba3a97d98b76929df858edc7b8b0d252
treed2dc56e904161e98cb77c44ab9f01898ffa2d36d
parent3a10b49781afcf0ea445d69dfc6949335269f231
[msan] Propagate shadow through (x<0) and (x>=0) comparisons.

This is a special case of signed relational comparison where result
only depends on the sign of x.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/MemorySanitizer.cpp
test/Instrumentation/MemorySanitizer/msan_basic.ll