]> granicus.if.org Git - llvm/commit
[mips] Deal with empty blocks in the mips hazard scheduler
authorSimon Dardis <simon.dardis@imgtec.com>
Tue, 4 Apr 2017 11:28:53 +0000 (11:28 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Tue, 4 Apr 2017 11:28:53 +0000 (11:28 +0000)
commitd7a71bf354d2ef1d38812d04cbab9663ed6b115e
treec7ad334b804e52c8765c2675eadf04150c387c94
parent78ed6ce91d11252e75b6700482aa537de5ad2949
[mips] Deal with empty blocks in the mips hazard scheduler

This patch teaches the hazard scheduler how to handle empty blocks
when search for the next real instruction when dealing with forbidden
slots.

Reviewers: slthakur

Differential Revision: https://reviews.llvm.org/D31293

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsHazardSchedule.cpp
test/CodeGen/Mips/compactbranches/empty-block.mir [new file with mode: 0644]