[ARC] Use backwards scavenging in frame index elimination
authorJay Foad <jay.foad@amd.com>
Mon, 15 May 2023 15:52:59 +0000 (16:52 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 18 May 2023 08:58:44 +0000 (09:58 +0100)
commita8dd9f42b7f437b233b1cd98e0c4c12aa2fab2f4
treed165e4713c32ae1e7ed7e2bd2a7a08b10fb466a6
parente13f88d1ff5234946af6349a9a7cf56fcb6c040e
[ARC] Use backwards scavenging in frame index elimination

This is preferred because it does not rely on accurate kill flags.

Differential Revision: https://reviews.llvm.org/D150599
llvm/lib/Target/ARC/ARCRegisterInfo.cpp
llvm/lib/Target/ARC/ARCRegisterInfo.h