diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-16 20:34:09 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-16 20:34:09 +0000 |
commit | 80d055494973e23dda00914c8f214e289831a341 (patch) | |
tree | f4d77fdd0308aefc82ff739d6cfe21500d923d1e /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | c00bd986950ec353674dbe3c33719406baa16e08 (diff) | |
download | bcm5719-llvm-80d055494973e23dda00914c8f214e289831a341.tar.gz bcm5719-llvm-80d055494973e23dda00914c8f214e289831a341.zip |
MachineOperand::setIsDebug should ensure the register is /not/ a definition
This currently unused function appeared to be asserting in the wrong
direction - DebugValues are never definitions of registers, only uses.
Curiously we don't perform any of these checks for the more common (&
actually used) case of MachineOperand::CreateReg (or other Create
functions).
llvm-svn: 184065
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions