[all-commits] [llvm/llvm-project] 5dc34e: Reland "[mlir][func] Use the generated pass option...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Sat Feb 11 03:32:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dc34eb379f40614d5c2381d46e5c8d6d6af63fd
      https://github.com/llvm/llvm-project/commit/5dc34eb379f40614d5c2381d46e5c8d6d6af63fd
  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
    M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp

  Log Message:
  -----------
  Reland "[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

This reverts commit 39da46826da82c24ca4407c13ad7feb8e5dc32a1
and relands commit 771d9c05afc2515b474fb53db857716dfdfc1dcf

which was originally reverted due to
https://lab.llvm.org/buildbot#builders/61/builds/39694

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




More information about the All-commits mailing list