[all-commits] [llvm/llvm-project] 771d9c: [mlir][func] Use the generated pass options in fun...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Sat Feb 11 01:33:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 771d9c05afc2515b474fb53db857716dfdfc1dcf
      https://github.com/llvm/llvm-project/commit/771d9c05afc2515b474fb53db857716dfdfc1dcf
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/test/CAPI/execution_engine.c

  Log Message:
  -----------
  [mlir][func] Use the generated pass options in func to llvm.

Update the FuncToLLVM pass to use the generated constructors and
the generated pass option struct. The hand written constructor
got out of sync after some refactorings. Using a generated constructor
and options struct ensures the everything remains in sync.

Reviewed By: zero9178

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




More information about the All-commits mailing list