[AArch64][GlobalISel] Support truncstorei8/i16 w/ combine to form truncating G_STOREs.
authorAmara Emerson <amara@apple.com>
Sun, 24 Jan 2021 08:35:15 +0000 (00:35 -0800)
committerAmara Emerson <amara@apple.com>
Tue, 11 May 2021 18:33:03 +0000 (11:33 -0700)
commitae2b36e8bdfa612649c6f2d8b6b9079679cb2572
tree56bcaf01678ba7a5b5267afad56e3bbfd1f73a87
parentec27c5f170441ab54295830aa9f7d376406c6a0f
[AArch64][GlobalISel] Support truncstorei8/i16 w/ combine to form truncating G_STOREs.

This needs some tablegen changes so that we can actually import the patterns properly.

Differential Revision: https://reviews.llvm.org/D102204
llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/Target/AArch64/AArch64Combine.td
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-truncstore.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/select-store.mir
llvm/utils/TableGen/GlobalISelEmitter.cpp