[AArch64] Fix load-insert-zero patterns with i8 and negative offsets.
authorDavid Green <david.green@arm.com>
Wed, 8 Mar 2023 12:48:21 +0000 (12:48 +0000)
committerDavid Green <david.green@arm.com>
Wed, 8 Mar 2023 12:48:21 +0000 (12:48 +0000)
commit1c6ea961938488997712763762079e535b8b704e
tree496950c57090b9cee996e09db03e0e15234d0b85
parentfd8c9ef20a9519dccd5b8178b29ed4574285d36f
[AArch64] Fix load-insert-zero patterns with i8 and negative offsets.

These should have been using the LDURBi instructions where the offset is
negative, as reported from the reproducer in D144086.
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/load-insert-zero.ll