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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jan 17 06:55:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fb685fb7ea165f2bc27a3f19b1cffc3f5a4b329
      https://github.com/llvm/llvm-project/commit/8fb685fb7ea165f2bc27a3f19b1cffc3f5a4b329
  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 (#78287)

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