[PATCH] D109242: GlobalISel: Artifact combine merge-like and unmerges into merge-like

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 08:28:28 PDT 2022


Petar.Avramovic updated this revision to Diff 469622.
Petar.Avramovic retitled this revision from "GlobalISel: Artifact combine build-vector and unmerges into concat-vector" to "GlobalISel: Artifact combine merge-like and unmerges into merge-like".
Petar.Avramovic edited the summary of this revision.
Petar.Avramovic added a comment.

Use Value finder to search for unmerged elements. In some tests skips a few combine steps since value finder looks through artifacts.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109242/new/

https://reviews.llvm.org/D109242

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-build-vector.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert-vector-elt.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zext.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109242.469622.patch
Type: text/x-patch
Size: 21602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/c6405760/attachment.bin>


More information about the llvm-commits mailing list