OSDN Git Service

[Debugify] Allow unsigned values narrower than their variables
authorVedant Kumar <vsk@apple.com>
Fri, 6 Jul 2018 17:32:40 +0000 (17:32 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 6 Jul 2018 17:32:40 +0000 (17:32 +0000)
commitd3643492a56feb496213b28f455a2f2b80732eaf
tree1e0eebcf67ab305412d55f3edc785255def8f260
parent0f83e1fc484c307e4820b5f3d331c322336cf4c1
[Debugify] Allow unsigned values narrower than their variables

Suppress the diagnostic for mis-sized dbg.values when a value operand is
narrower than the unsigned variable it describes. Assume that a debugger
would implicitly zero-extend these values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336452 91177308-0d34-0410-b5e6-96231b3b80d8
test/DebugInfo/debugify-bogus-dbg-value.ll
tools/opt/Debugify.cpp