[Mips] Avoid RegScavenger::forward in Mips16InstrInfo
authorJay Foad <jay.foad@amd.com>
Mon, 15 May 2023 11:01:23 +0000 (12:01 +0100)
committerJay Foad <jay.foad@amd.com>
Tue, 23 May 2023 10:24:47 +0000 (11:24 +0100)
commit48a1db6a1b8401f61b0d87c261453dd38e8dbc43
tree6a3afff709b2faab31f82ef814e018bb5843b412
parent3fc30ae29762ce354ed17b63d27251f4dd8fdb0c
[Mips] Avoid RegScavenger::forward in Mips16InstrInfo

RegScavenger::backward is preferred because it does not rely on accurate
kill flags.

Differential Revision: https://reviews.llvm.org/D150557
llvm/lib/Target/Mips/Mips16InstrInfo.cpp