[all-commits] [llvm/llvm-project] 77cc70: GlobalISel: Add type size guards in tryCombineMerg...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Aug 4 01:40:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77cc70278e0ad13e8c30e691d22db03984c476a0
      https://github.com/llvm/llvm-project/commit/77cc70278e0ad13e8c30e691d22db03984c476a0
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
    M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir

  Log Message:
  -----------
  GlobalISel: Add type size guards in tryCombineMergeLike (#213702)

Bug in LegalizationArtifactCombiner when:
DstSize < UnmergeSrcSize case can create unmerge with one element.
DstSize > UnmergeSrcSize case can end up attempting to create merge
with one source element and hits assert(TmpVec.size() > 1).



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