[PATCH] D140490: [SPIRV] support __spirv_Load/Store builtin functions

Ilia Diachkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 11:42:30 PST 2022


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

The patch adds support for the builtin functions __spirv_Load and __spirv_Store. One LIT test is added to demonstrate the improvement (spirv-load-store.ll).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140490

Files:
  llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
  llvm/lib/Target/SPIRV/SPIRVBuiltins.td
  llvm/test/CodeGen/SPIRV/spirv-load-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140490.484636.patch
Type: text/x-patch
Size: 5422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221221/defa4dd3/attachment.bin>


More information about the llvm-commits mailing list