[all-commits] [llvm/llvm-project] df8713: [SPIRV] support capabilities and extensions

Ilia Diachkov via All-commits all-commits at lists.llvm.org
Fri Aug 12 12:51:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df8713079bf59f4aa78c5c0b421c10a51bb984ba
      https://github.com/llvm/llvm-project/commit/df8713079bf59f4aa78c5c0b421c10a51bb984ba
  Author: Ilia Diachkov <ilia.diachkov at gmail.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstrInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstrInfo.h
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    M llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
    M llvm/lib/Target/SPIRV/SPIRVSubtarget.h
    A llvm/test/CodeGen/SPIRV/constant/local-float-point-constants.ll
    A llvm/test/CodeGen/SPIRV/constant/local-integers-constants.ll
    A llvm/test/CodeGen/SPIRV/extensions/no_wrap.ll
    A llvm/test/CodeGen/SPIRV/transcoding/ReqdSubgroupSize.ll
    A llvm/test/CodeGen/SPIRV/transcoding/fadd.ll

  Log Message:
  -----------
  [SPIRV] support capabilities and extensions

This patch supports SPIR-V capabilities and extensions. In addition,
it inserts decorations related to MIFlags and improves support of switches.
Five tests are included to demonstrate the improvement.

Differential Revision: https://reviews.llvm.org/D131221

Co-authored-by: Aleksandr Bezzubikov <zuban32s at gmail.com>
Co-authored-by: Michal Paszkowski <michal.paszkowski at outlook.com>
Co-authored-by: Andrey Tretyakov <andrey1.tretyakov at intel.com>
Co-authored-by: Konrad Trifunovic <konrad.trifunovic at intel.com>




More information about the All-commits mailing list