summaryrefslogtreecommitdiffstats
path: root/llvm/utils/clang-parse-diagnostics-file
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-17 09:23:12 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-17 09:23:12 +0000
commitdf187feae41f4e5cf632f95d8f06831bfdc36a9f (patch)
treedafd3d225037dfe14943b222285a3bb56f9ee4d6 /llvm/utils/clang-parse-diagnostics-file
parentf7f2cd35dc18b59c19b676b52d6e12e4e1f88ea4 (diff)
downloadbcm5719-llvm-df187feae41f4e5cf632f95d8f06831bfdc36a9f.tar.gz
bcm5719-llvm-df187feae41f4e5cf632f95d8f06831bfdc36a9f.zip
[msan] Fix handling of multiplication by a constant with a number of trailing zeroes.
Multiplication by an integer with a number of trailing zero bits leaves the same number of lower bits of the result initialized to zero. This change makes MSan take this into account in the case of multiplication by a compile-time constant. We don't handle the general, non-constant, case because (a) it's not going to be cheap (computation-wise); (b) multiplication by a partially uninitialized value in user code is a bad idea anyway. Constant case must be handled because it appears from LLVM optimization of a completely valid user code, as the test case in compiler-rt demonstrates. llvm-svn: 211092
Diffstat (limited to 'llvm/utils/clang-parse-diagnostics-file')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud