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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jan 17 05:11:40 PST 2024


  Branch: refs/heads/users/skatrak/spr/target-attrs-llvm-dialect
  Home:   https://github.com/llvm/llvm-project
  Commit: ccde7429f90562d07d42f6d20a8adca77c5629b6
      https://github.com/llvm/llvm-project/commit/ccde7429f90562d07d42f6d20a8adca77c5629b6
  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