[all-commits] [llvm/llvm-project] dc3fbe: GlobalISel: Fix infinite loop in legalization arti...

petar-avramovic via All-commits all-commits at lists.llvm.org
Mon Aug 2 03:58:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc3fbe293f1a1c1068e2cd27151fb373798fdfb6
      https://github.com/llvm/llvm-project/commit/dc3fbe293f1a1c1068e2cd27151fb373798fdfb6
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

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

  Log Message:
  -----------
  GlobalISel: Fix infinite loop in legalization artifact combiner

ArtifactValueFinder keeps trying to combine g_unmerge_values in some cases.
Fix is to skip combine attempt for dead defs.

Differential Revision: https://reviews.llvm.org/D106879




More information about the All-commits mailing list