[all-commits] [llvm/llvm-project] 1919b3: [SPIRV] Scalarize single-element vectors in type c...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Wed Feb 11 13:12:28 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1919b3b0474583e703d9545d536caf72c05b4ad4
      https://github.com/llvm/llvm-project/commit/1919b3b0474583e703d9545d536caf72c05b4ad4
  Author: Dmitry Sidorov <Dmitry.Sidorov at amd.com>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    A llvm/test/CodeGen/SPIRV/single-element-vector.ll

  Log Message:
  -----------
  [SPIRV] Scalarize single-element vectors in type creation (#180735)

SPIR-V requires vectors to have at least 2 components. So treat <1 x T>
as T.

Fixes: https://github.com/llvm/llvm-project/issues/171175



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