[AArch64][GlobalISel] Don't contract cross-bank copies into truncating stores.
authorAmara Emerson <amara@apple.com>
Fri, 20 Aug 2021 23:23:23 +0000 (16:23 -0700)
committerAmara Emerson <amara@apple.com>
Fri, 20 Aug 2021 23:36:23 +0000 (16:36 -0700)
commit67bf3ac7446bd8ba16bb5ef82fa9f28a848616da
tree420e01b090d8acfca3d3f4d23cbb30ba6049151c
parent2bd7c30e5a4e3c5b5c68018b57c5dc8d51d1373f
[AArch64][GlobalISel] Don't contract cross-bank copies into truncating stores.

Truncating stores with GPR bank sources shouldn't be mutated into using FPR bank
sources, since those aren't supported.

Ideally this should be a selection failure in the tablegen patterns, but for now
avoid generating them.
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/contract-store.mir