]> granicus.if.org Git - llvm/commit
[ModuloSchedule] Do not remap terminators
authorJames Molloy <jmolloy@google.com>
Fri, 4 Oct 2019 17:15:25 +0000 (17:15 +0000)
committerJames Molloy <jmolloy@google.com>
Fri, 4 Oct 2019 17:15:25 +0000 (17:15 +0000)
commit30ea191e05a69f58bcaf9ccb1ff16e70bbd987d4
treefac309444b4e9d0cea67cd03f6dfc6a5c37756ba
parent5a8b466d557297e848530b9f43c5a26ddd8caa34
[ModuloSchedule] Do not remap terminators

This is a trivial point fix. Terminator instructions aren't scheduled, so
we shouldn't expect to be able to remap them.

This doesn't affect Hexagon and PPC because their terminators are always
hardware loop backbranches that have no register operands.

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