OSDN Git Service

Handle more cases in LiveRangeEdit::eliminateDeadDefs.
authorAndrew Trick <atrick@apple.com>
Fri, 21 Jun 2013 18:33:20 +0000 (18:33 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 21 Jun 2013 18:33:20 +0000 (18:33 +0000)
commit03dca5e4b6c41e1e7fa4edad3d7ff8d5f6de7008
tree393fd24d6c1a7fce8d30049a0c8f64c2b1c0302c
parentf1f99f394f367845c4f4528d4d2bce42e65a5f50
Handle more cases in LiveRangeEdit::eliminateDeadDefs.

Live intervals for dead physregs may be created during coalescing. We
need to update these in the event that their instruction goes away.

crash.ll is the unit test that catches it when MI sched is enabled on
X86.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184572 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
lib/CodeGen/LiveRangeEdit.cpp