[PATCH] D64452: GlobalISel: Fold out unmerge to scalars from concat_vector

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 14:54:11 PDT 2019


arsenm created this revision.
arsenm added reviewers: aemerson, aditya_nandakumar, paquette.
Herald added subscribers: Petar.Avramovic, rovka, nhaehnle, wdng, jvesely.
arsenm added a parent revision: D64436: GlobalISel: Combine unmerge of merge with intermediate cast     .

Removes illegal intermediate vectors if an operation was lowering to
concat_vectors, and the next operation is scalarized.


https://reviews.llvm.org/D64452

Files:
  include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64452.208822.patch
Type: text/x-patch
Size: 23147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190709/619b9540/attachment.bin>


More information about the llvm-commits mailing list