[AArch64][GlobalISel] Set hasSideEffects = 0 on custom shuffle opcodes
authorJessica Paquette <jpaquette@apple.com>
Tue, 9 Jun 2020 18:27:28 +0000 (11:27 -0700)
committerJessica Paquette <jpaquette@apple.com>
Fri, 12 Jun 2020 16:39:46 +0000 (09:39 -0700)
commit305862a5a6f0d73819f6a884176ba1f134502c3f
tree01e7b8e291e5a104c820d15023917ae9f1814be0
parent2b34632a5771488ea62a30fdfcfc9d45060a7389
[AArch64][GlobalISel] Set hasSideEffects = 0 on custom shuffle opcodes

This was making it so that the instructions weren't eliminated in
select-rev.mir and select-trn.mir despite not being used.

Update the tests accordingly.

Differential Revision: https://reviews.llvm.org/D81492
llvm/lib/Target/AArch64/AArch64InstrGISel.td
llvm/test/CodeGen/AArch64/GlobalISel/select-rev.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-trn.mir