Recommit "[AArch64][GlobalISel] Match G_SHUFFLE_VECTOR -> insert elt + extract elt"
authorJessica Paquette <jpaquette@apple.com>
Tue, 23 Feb 2021 19:27:11 +0000 (11:27 -0800)
committerJessica Paquette <jpaquette@apple.com>
Tue, 23 Feb 2021 19:55:16 +0000 (11:55 -0800)
commitef1f7f1d7db1e9bf7e256e208c295b605b014059
tree1340d80d00d8509003eef5af613179d1c1815775
parent939b5ce73461e9a6bbd57ffb27b3ef9f28b0e1ec
Recommit "[AArch64][GlobalISel] Match G_SHUFFLE_VECTOR -> insert elt + extract elt"

Attempted fix for the added test failing.

https://lab.llvm.org/buildbot/#/builders/104/builds/2355/steps/5/logs/stdio

I can't reproduce the failure anywhere, so I'm going to guess that passing a
std::function as MatchInfo is sketchy in this context.

Switch it to a std::tuple and hope for the best.
llvm/lib/Target/AArch64/AArch64Combine.td
llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-shuf-to-ins.mir [new file with mode: 0644]