[all-commits] [llvm/llvm-project] ec9f21: [mlir][gpu][target] Use promises to verify TargetA...

Fabian Mora via All-commits all-commits at lists.llvm.org
Fri Sep 8 14:21:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec9f2181733db409f4703563da0ab15160217c2c
      https://github.com/llvm/llvm-project/commit/ec9f2181733db409f4703563da0ab15160217c2c
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td
    M mlir/include/mlir/Dialect/GPU/IR/CompilationAttrs.td
    M mlir/include/mlir/Target/LLVMIR/Dialect/All.h
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Target/LLVMIR/CMakeLists.txt

  Log Message:
  -----------
  [mlir][gpu][target] Use promises to verify TargetAttrs IR correctness. (#65787)

This patch employs the updated promise mechanism to enforce Target
Attribute IR constraints. Due to this patch, TargetAttributes
implementations no longer have to be registered before executing
translation to LLVM IR in cases where they are not needed, like when
translating `gpu.binary` operations.




More information about the All-commits mailing list