[all-commits] [llvm/llvm-project] 7e4b13: [MLIR] Ensure `gpu.func` must be inside a `gpu.mod...

frgossen via All-commits all-commits at lists.llvm.org
Fri Apr 24 00:21:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e4b139a04d727bbb721dac1832a0bea863eeda8
      https://github.com/llvm/llvm-project/commit/7e4b139a04d727bbb721dac1832a0bea863eeda8
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-04-24 (Fri, 24 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/GPUBase.td
    M mlir/include/mlir/Dialect/GPU/GPUOps.td
    M mlir/test/Dialect/GPU/all-reduce-max.mlir
    M mlir/test/Dialect/GPU/all-reduce.mlir
    M mlir/test/Dialect/GPU/invalid.mlir
    M mlir/test/Dialect/GPU/ops.mlir
    M mlir/test/Dialect/GPU/promotion.mlir

  Log Message:
  -----------
  [MLIR] Ensure `gpu.func` must be inside a `gpu.module`.

Ensure that `gpu.func` is only used within the dedicated `gpu.module`.
Implement the constraint to the GPU dialect and adopt test cases.

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




More information about the All-commits mailing list