[PATCH] D106879: GlobalISel: Fix infinite loop in legalization artifact combiner

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 08:09:32 PDT 2021


Petar.Avramovic updated this revision to Diff 362393.
Petar.Avramovic added a comment.
Herald added a subscriber: ormris.

Mark dead bit in DeadDefs and add mir test. MIR in last two tests is from just before artifact combiner. In one we can see dead def in unmerge, other has only dbg use.


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

https://reviews.llvm.org/D106879

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/bug-legalization-artifact-combiner-dead-def.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/bug-legalization-artifact-combiner-dead-def.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106879.362393.patch
Type: text/x-patch
Size: 9991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210728/8c8ee2bf/attachment.bin>


More information about the llvm-commits mailing list