[PATCH] D137273: GlobalISel: Fix artifact combine value finder look through copy

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 2 11:08:56 PDT 2022


Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: foad, sebastian-ne, aemerson, arsenm.
Herald added subscribers: kosarev, kerbowa, jvesely.
Herald added a project: All.
Petar.Avramovic requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Search for COPY source in instruction we get from look through (not copy dst).


https://reviews.llvm.org/D137273

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-build-vector.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137273.472701.patch
Type: text/x-patch
Size: 23931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221102/cdae8031/attachment.bin>


More information about the llvm-commits mailing list