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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Jan 16 06:19:55 PST 2024


  Branch: refs/heads/users/skatrak/spr/target-attrs-llvm-dialect
  Home:   https://github.com/llvm/llvm-project
  Commit: ae33bcc9b9f8b6f4485a1084f6c0bf72c8fe1eb3
      https://github.com/llvm/llvm-project/commit/ae33bcc9b9f8b6f4485a1084f6c0bf72c8fe1eb3
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-01-16 (Tue, 16 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