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 | b7770e0b851295141f2b5ec8383380253a75c5f8 (patch) | |
tree | 70ea82b77ce6ef0d5b9a51e5e061060c23fccd8a /test | |
parent | 53aaef82408c032899938ea050473cdbd860c78e (diff) | |
download | llvm-b7770e0b851295141f2b5ec8383380253a75c5f8.tar.gz llvm-b7770e0b851295141f2b5ec8383380253a75c5f8.tar.bz2 llvm-b7770e0b851295141f2b5ec8383380253a75c5f8.tar.xz |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions