[all-commits] [llvm/llvm-project] 444abb: [mlir][gpu] Add a symbol table field to TargetOpti...

Fabian Mora via All-commits all-commits at lists.llvm.org
Sat Sep 9 16:59:33 PDT 2023


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

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/CompilationInterfaces.h
    M mlir/include/mlir/Dialect/GPU/Transforms/Passes.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp

  Log Message:
  -----------
  [mlir][gpu] Add a symbol table field to TargetOptions and adjust GpuModuleToBinary (#65797)

This patch adds the option of building an optional symbol table for the
top operation in the `gpu-module-to-binary` pass. The table is not
created by default as most targets don't need it; instead, it is lazily
built. The table is passed through a callback in `TargetOptions`.

This patch is required to integrate #65539 .




More information about the All-commits mailing list