[all-commits] [llvm/llvm-project] 9bf40c: [AMDGPU] Fix s_buffer_load crash for illegal resul...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Sun Sep 13 13:58:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bf40ce33523745e19328924593134e4510bfa5f
      https://github.com/llvm/llvm-project/commit/9bf40ce33523745e19328924593134e4510bfa5f
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-09-13 (Sun, 13 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ptr.s.buffer.load.illegal-types.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.illegal-types.ll

  Log Message:
  -----------
  [AMDGPU] Fix s_buffer_load crash for illegal result types (#215483)

i1, i4, v2i1, v3i16, v6i8, and i128 had no SBUFFER_LOAD selection
pattern and crashed

Load a legal i32/vNi32 carrier instead and narrow/bitcast down to the
requested type



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