[all-commits] [llvm/llvm-project] 862fb4: [AMDGPU][GlobalISel] Fix G_UNMERGE_VALUES combine ...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Aug 4 17:07:42 PDT 2025


  Branch: refs/heads/users/rampitec/08-04-_amdgpu_gfx1250_v_wmma_scale_16__f32_16x16x128_f8f6f4_codegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 862fb42b065dd01584f219994bc791f9d0a4c9b8
      https://github.com/llvm/llvm-project/commit/862fb42b065dd01584f219994bc791f9d0a4c9b8
  Author: Maksim Shelegov <maksim.shelegov at intel.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Fix G_UNMERGE_VALUES combine (#141812)

Fixes #139791.

When trying to combine two G_UNMERGE_VALUES with a COPY between them,
a crash occurs in tryCombineUnmergeValues() because getDefIndex() tries
to find the index of the original source register in the def found by
getDefIgnoringCopies(). In the case of a COPY in between, this register
is not present in the def, only in the COPY.


  Commit: 571d0494b462c5bbbe51a3bcd4d3957e1956ff43
      https://github.com/llvm/llvm-project/commit/571d0494b462c5bbbe51a3bcd4d3957e1956ff43
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir

  Log Message:
  -----------
  Merge branch 'main' into users/rampitec/08-04-_amdgpu_gfx1250_v_wmma_scale_16__f32_16x16x128_f8f6f4_codegen


Compare: https://github.com/llvm/llvm-project/compare/eb2d77c78338...571d0494b462

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list