[all-commits] [llvm/llvm-project] 19a5a3: [SPIR-V] Add overload of getConstraintType for inl...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Tue Mar 10 04:09:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19a5a3536e7ac32153f845921af33fcf9c05ccce
      https://github.com/llvm/llvm-project/commit/19a5a3536e7ac32153f845921af33fcf9c05ccce
  Author: Dmitry Sidorov <Dmitry.Sidorov at amd.com>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.h
    A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_inline_assembly/inline_asm_target_constraints.ll

  Log Message:
  -----------
  [SPIR-V] Add overload of getConstraintType for inline asm lowering (#185422)

Without the overload constrain lowering would go with a default path
which would later result in a crash in case if for example AMDGPU asm is
inlined (for example v_ would be Unknown).

Overload sets ConstraintType to be always RegClass for SPIR-V.



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