[all-commits] [llvm/llvm-project] 65e07a: Reland "[mlir][llvm] Add intrinsic arg and result ...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Tue Jul 29 04:51:48 PDT 2025


  Branch: refs/heads/users/gysit/reland-intrinsic-arg-and-res-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: 65e07a18cf1575e1de5b3ddbf8b0a49b732963cf
      https://github.com/llvm/llvm-project/commit/65e07a18cf1575e1de5b3ddbf8b0a49b732963cf
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.td
    M mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
    M mlir/include/mlir/Interfaces/CallInterfaces.td
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/LLVMImportInterface.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/Import/intrinsic.ll
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
    M utils/bazel/llvm-project-overlay/mlir/test/mlir-tblgen/BUILD.bazel

  Log Message:
  -----------
  Reland "[mlir][llvm] Add intrinsic arg and result attribute support (… (#151099)

This reverts commit 2780b8f22058b35a8e70045858b87a1966df8df3
to reland 59013d44058ef423a117f95092150e16e16fdb09.

- This includes a bazel fix
- Use `let methods` instead of `list<InterfaceMethod> methods`

The original commit message was:

This patch extends the LLVM dialect's intrinsic infra to support
argument and result attributes. Initial support is added for the memory
intrinsics llvm.intr.memcpy, llvm.intr.memmove, and llvm.intr.memset.

Additionally, an ArgAndResultAttrsOpInterface is factored out of
CallOpInterface and CallableOpInterface, enabling operations to have
argument and result attributes without requiring them to be a call or a
callable operation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list