[all-commits] [llvm/llvm-project] a2c4b7: [mlir] Add `convertInstruction` and `getSupportedI...

Fabian Mora via All-commits all-commits at lists.llvm.org
Sat Apr 6 23:46:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2c4b7c8e2740a83f141dcf06cf50359588190b9
      https://github.com/llvm/llvm-project/commit/a2c4b7c8e2740a83f141dcf06cf50359588190b9
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-04-07 (Sun, 07 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    A mlir/test/Target/LLVMIR/Import/test.ll
    M mlir/test/lib/Dialect/Test/CMakeLists.txt
    A mlir/test/lib/Dialect/Test/TestFromLLVMIRTranslation.cpp
    M mlir/tools/mlir-translate/mlir-translate.cpp

  Log Message:
  -----------
  [mlir] Add `convertInstruction` and `getSupportedInstructions` to `LLVMImportInterface` (#86799)

This patch adds the `convertInstruction` and `getSupportedInstructions`
to `LLVMImportInterface`, allowing any non-LLVM dialect to specify how
to import LLVM IR instructions and overriding the default import of LLVM instructions.



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