[all-commits] [llvm/llvm-project] 8a66bb: [MLIR][SPIRV] Added storage class constraint on gl...

George Mitenkov via All-commits all-commits at lists.llvm.org
Tue Jul 28 23:15:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a66bb7a75f71a749e9ee603c9c5c8d016ed7238
      https://github.com/llvm/llvm-project/commit/8a66bb7a75f71a749e9ee603c9c5c8d016ed7238
  Author: George Mitenkov <georgemitenk0v at gmail.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/test/Dialect/SPIRV/structure-ops.mlir

  Log Message:
  -----------
  [MLIR][SPIRV] Added storage class constraint on global variable

Added a check for 'Function' storage class in `spv.globalVariable`
verifier since it only can be used with `spv.Variable`.

Reviewed By: antiagainst

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




More information about the All-commits mailing list