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 | 9a78835414999197f408a03841d65332f90c3112 (patch) | |
| tree | e7ede973fd082a077d45b63d1e22a3a18e8d5ee2 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp | |
| parent | ebc34dff1838a5a9b4cd00cab61bd9a3e4e6d52c (diff) | |
| download | bcm5719-llvm-9a78835414999197f408a03841d65332f90c3112.tar.gz bcm5719-llvm-9a78835414999197f408a03841d65332f90c3112.zip | |
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.
llvm-svn: 128642
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions

