[ModuloSchedule] Support instructions with > 1 destination when walking canonical...
authorHendrik Greving <hgreving@google.com>
Fri, 5 Jun 2020 18:34:34 +0000 (11:34 -0700)
committerHendrik Greving <hgreving@google.com>
Mon, 8 Jun 2020 18:43:59 +0000 (11:43 -0700)
commitf3d8a9397003b6645f19a4dd11cc1165ce75bd7d
treeb767b5413449b30d9a103ede42e605ed7721700c
parentd50366d29f25fb2297b7561092132ecf74a391e9
[ModuloSchedule] Support instructions with > 1 destination when walking canonical use.

Fixes a minor bug that led to finding the wrong register if the definition had more
than one register destination.
llvm/lib/CodeGen/ModuloSchedule.cpp