[ARM] Add AddrModeT2_i8neg addressing mode support for frame lowering.
authorDavid Green <david.green@arm.com>
Tue, 14 Dec 2021 12:49:27 +0000 (12:49 +0000)
committerDavid Green <david.green@arm.com>
Tue, 14 Dec 2021 12:49:27 +0000 (12:49 +0000)
commit26f6fbe2be1dfb6e734ba34b650606cd18a2a4f7
tree3c8c1f0371eb468b0a4541c940edc1af13eb8218
parent81eece7f2693fef4b85cc5a93c5894255b651e56
[ARM] Add AddrModeT2_i8neg addressing mode support for frame lowering.

As reported from a failing firefox build, we can sometimes get frame
indices with negative offsets from a t2LDRi8. This adds support for
them, to prevent the crash.
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
llvm/test/CodeGen/ARM/stack_frame_offset.mir [new file with mode: 0644]