OSDN Git Service

MachineScheduler: Ignore COPYs with undef/dead op in CopyConstrain mutation.
authorMatthias Braun <matze@braunis.de>
Mon, 4 Apr 2016 21:23:46 +0000 (21:23 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 4 Apr 2016 21:23:46 +0000 (21:23 +0000)
commitbc7742294bef27e15920e2b0179265df7bd9dd8e
tree323e7b88616bf9d4e12149fd8c78aa10f75df1b0
parent7b7e7134b088d23677a6e53005f3c2ebe5a08fd1
MachineScheduler: Ignore COPYs with undef/dead op in CopyConstrain mutation.

There is no problem with the code today, but the fix will avoid a crash
in test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll once the
DetectDeadLanes pass is added.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265351 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineScheduler.cpp