[PATCH] D135390: [SPIRV] Fix call lowering of "anonymous" functions

Michal Paszkowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 12:55:00 PDT 2022


mpaszkowski created this revision.
mpaszkowski added reviewers: iliya-diyachkov, konrad.trifunovic, zuban32, andreytr, arsenm, MaskRay, rengolin.
Herald added subscribers: StephenFan, ThomasRaoux, hiraditya, Anastasia.
Herald added a project: All.
mpaszkowski requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

The patch fixes lowering of anonymous functions, removes file/linkage info for builtin call demangling, and adds relevant test demonstrating a fixed problem. This patch fixes several OpenCL CTS spirv_new subtests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135390

Files:
  llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
  llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
  llvm/lib/Target/SPIRV/SPIRVMCInstLower.cpp
  llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
  llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
  llvm/test/CodeGen/SPIRV/function/internal-anonymous-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135390.465835.patch
Type: text/x-patch
Size: 5200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221006/692f92e0/attachment-0001.bin>


More information about the llvm-commits mailing list