diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 17:23:25 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 17:23:25 +0000 |
commit | 8e53aca51a141c99209ced69c9a51f52f6a8370b (patch) | |
tree | 847a16e4a87e6508012c7ee3d6a65b7357428e48 /lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp | |
parent | 48a36158ec09f3f47e9e84af7feb6fcf9fccfd28 (diff) |
Mark all uses as <undef> when joining a copy.
This way, shrinkToUses() will ignore the instruction that is about to be
deleted, and we avoid leaving invalid live ranges that SplitKit doesn't like.
Fix a misunderstanding in MachineVerifier about <def,undef> operands. The
<undef> flag is valid on def operands where it has the same meaning as <undef>
on a use operand. It only applies to sub-register defines which also read the
full register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp')
0 files changed, 0 insertions, 0 deletions