[PATCH] D158764: [SPIR-V] Support SPV_INTEL_arbitrary_precision_integers_extension and add misc utilities for other extensions

Michal Paszkowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 11:57:46 PDT 2023


mpaszkowski created this revision.
mpaszkowski added reviewers: iliya-diyachkov, zuban32, konrad.trifunovic, andreytr.
Herald added subscribers: pmatos, ThomasRaoux, hiraditya.
Herald added a project: All.
mpaszkowski requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds misc utilities for enabling SPIR-V extensions (getting capabilities/symbolic operands required by a given extension, looking up enabled extensions), CLI interface, and support for SPV_INTEL_arbitrary_precision_integers_extension.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158764

Files:
  llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.cpp
  llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.h
  llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
  llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
  llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
  llvm/lib/Target/SPIRV/SPIRVSubtarget.h
  llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
  llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_arbitrary_precision_integers.ll
  llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_no_integer_wrap_decoration.ll
  llvm/test/CodeGen/SPIRV/extensions/no_wrap.ll
  llvm/test/CodeGen/SPIRV/transcoding/NoSignedUnsignedWrap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158764.553218.patch
Type: text/x-patch
Size: 12650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230824/bc32d733/attachment.bin>


More information about the llvm-commits mailing list