[PATCH] D116465: [SPIRV 6/6] Add 2 essential passes and the simplest tests

Ilia Diachkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 31 14:58:51 PST 2021


iliya-diyachkov created this revision.
iliya-diyachkov added reviewers: arsenm, craig.topper, theraven, jyknight, MaskRay, RKSimon, rengolin, jrtc27.
Herald added subscribers: ThomasRaoux, jdoerfert, hiraditya, mgorny.
iliya-diyachkov requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a reviewer: zuban32.
Herald added a project: LLVM.

This patch adds two SPIRV passes essential for minimum SPIR-V output. Also it adds several simplest tests to show that the target basically works.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116465

Files:
  llvm/lib/Target/SPIRV/CMakeLists.txt
  llvm/lib/Target/SPIRV/SPIRV.h
  llvm/lib/Target/SPIRV/SPIRVBlockLabeler.cpp
  llvm/lib/Target/SPIRV/SPIRVGlobalTypesAndRegNumPass.cpp
  llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
  llvm/test/CodeGen/SPIRV/function/trivial-function-definition.ll
  llvm/test/CodeGen/SPIRV/function/trivial-function-with-attributes.ll
  llvm/test/CodeGen/SPIRV/lit.local.cfg
  llvm/test/CodeGen/SPIRV/metadata-opencl12.ll
  llvm/test/CodeGen/SPIRV/metadata-opencl20.ll
  llvm/test/CodeGen/SPIRV/metadata-opencl22.ll
  llvm/test/CodeGen/SPIRV/optnone.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116465.396830.patch
Type: text/x-patch
Size: 30578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211231/cea32473/attachment-0001.bin>


More information about the llvm-commits mailing list