[all-commits] [llvm/llvm-project] 549419: [mlir][LLVM] Add all LLVM parameter attributes

Christian Ulmann via All-commits all-commits at lists.llvm.org
Sun Jan 29 23:57:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54941942c82f3a1640d50c0e354d29a3cf5535f6
      https://github.com/llvm/llvm-project/commit/54941942c82f3a1640d50c0e354d29a3cf5535f6
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    A mlir/lib/Target/LLVMIR/AttrKindDetail.cpp
    A mlir/lib/Target/LLVMIR/AttrKindDetail.h
    M mlir/lib/Target/LLVMIR/CMakeLists.txt
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/parameter-attrs-invalid.mlir
    M mlir/test/Target/LLVMIR/Import/function-attributes.ll
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][LLVM] Add all LLVM parameter attributes

This commit adds name accessors and verifiers for all LLVM parameter
attributes excluding the swift specific ones to the LLVM dialect.
Additionally, these attributes are now also imported and exported.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D142635




More information about the All-commits mailing list