[all-commits] [llvm/llvm-project] b3d286: [mlir][spirv] Fix shader ABI attribute prefix and ...

Lei Zhang via All-commits all-commits at lists.llvm.org
Fri Jan 3 04:45:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b3d286776941aef765f8858d95f80808b528f2fa
      https://github.com/llvm/llvm-project/commit/b3d286776941aef765f8858d95f80808b528f2fa
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/SPIRVDialect.h
    M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
    M mlir/lib/Dialect/SPIRV/TargetAndABI.cpp
    M mlir/test/Conversion/GPUToSPIRV/load-store.mlir
    M mlir/test/Conversion/GPUToSPIRV/simple.mlir
    M mlir/test/Dialect/SPIRV/Transforms/abi-load-store.mlir
    M mlir/test/Dialect/SPIRV/Transforms/abi-simple.mlir
    A mlir/test/Dialect/SPIRV/target-and-abi.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix shader ABI attribute prefix and add verification

This commit fixes shader ABI attributes to use `spv.` as the prefix
so that they match the dialect's namespace. This enables us to add
verification hooks in the SPIR-V dialect to verify them.

Reviewed By: mravishankar

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




More information about the All-commits mailing list