[all-commits] [llvm/llvm-project] 6d5786: [mlir][spirv] Support import/export Functions and ...

Md Abdullah Shahneous Bari via All-commits all-commits at lists.llvm.org
Wed May 24 17:09:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d578669f30695d7d05db19bf980b4aac5af325c
      https://github.com/llvm/llvm-project/commit/6d578669f30695d7d05db19bf980b4aac5af325c
  Author: Md Abdullah Shahneous Bari <Md.Abdullah.Shahneous.Bari at intel.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    A mlir/test/Dialect/SPIRV/IR/function-decorations.mlir
    M mlir/test/Dialect/SPIRV/IR/structure-ops.mlir
    M mlir/test/Target/SPIRV/decorations.mlir
    A mlir/test/Target/SPIRV/function-decorations.mlir
    M mlir/test/Target/SPIRV/global-variable.mlir

  Log Message:
  -----------
  [mlir][spirv] Support import/export Functions and GlobalVariables

"LinkageAttributes" decoration allow a SPIR-V module to import
external functions and global variables, or export functions or
global variables for other SPIR-V modules to link against and use.

Import/export capability is extremely important when using outside
libraries (e.g., intrinsic libraries).

Added decorations:
- LinkageAttributes

Reviewed By: antiagainst

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




More information about the All-commits mailing list