[all-commits] [llvm/llvm-project] 03c87c: [MLIR][LLVM] Add explicit target_cpu attribute to ...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jan 17 04:16:44 PST 2024


  Branch: refs/heads/users/skatrak/spr/target-attrs-llvm-dialect
  Home:   https://github.com/llvm/llvm-project
  Commit: 03c87c31ff5193115b7c601991addf5bcac525e2
      https://github.com/llvm/llvm-project/commit/03c87c31ff5193115b7c601991addf5bcac525e2
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Conversion/FuncToLLVM/convert-funcs.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-analysis.mlir
    A mlir/test/Target/LLVMIR/Import/target-cpu.ll
    A mlir/test/Target/LLVMIR/target-cpu.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Add explicit target_cpu attribute to llvm.func

This patch adds the target_cpu attribute to llvm.func MLIR operations and
updates the translation to/from LLVM IR to match "target-cpu" function
attributes.




More information about the All-commits mailing list