[mips] Teach the delay slot filler to remove needless KILL instructions.
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Fri, 17 Apr 2015 12:01:02 +0000 (12:01 +0000)
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Fri, 17 Apr 2015 12:01:02 +0000 (12:01 +0000)
commit187afcd54800a37a513ab93f4c6966cd963d1741
treeb5ee6bd5e38e7164a43e2b10f67745b550f29197
parentc59decb902128c7b68baf98f5eadcf26fbfa5a08
[mips] Teach the delay slot filler to remove needless KILL instructions.

Summary:
Previously, the presence of KILL instructions would block valid candidates
from filling a specific delay slot. With the elimination of the KILL
instructions, in the appropriate range, we are able to fill more slots and
keep the information from future def/use analysis consistent.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: hfinkel, llvm-commits

Differential Revision: http://reviews.llvm.org/D7724

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsDelaySlotFiller.cpp
test/CodeGen/Mips/delay-slot-kill.ll [new file with mode: 0644]