1. [GISel][ArtifactCombiner] Relax the constraint to combine unmerge with (details)
Commit 52af7aedfe5dd5cfb1a6f486040a2549bbdbcf93 by qcolombet
[GISel][ArtifactCombiner] Relax the constraint to combine unmerge with
The combine G_UNMERGE_VALUES with G_CONCAT_VECTORS used to only be
performed when the result type of the G_UNMERGE_VALUES was a vector
type. In other words, we were expecting that the G_UNMERGE_VALUES was
effectively the exact opposite of the G_CONCAT_VECTORS.
Lift that constraint by allowing any G_UNMERGE_VALUES to be combined
with any G_CONCAT_VECTORS (as long as the size of the different pieces
that we merge/unmerge match).
Differential Revision:
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-combiner.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/integration-shuffle-vector.ll