[all-commits] [llvm/llvm-project] f3fa4a: [mlir] Drop customization hooks from StandardToLLV...

ftynse via All-commits all-commits at lists.llvm.org
Mon Feb 3 04:26:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f3fa4a34b62ec283ffda136af4dd55c223c1e6b3
      https://github.com/llvm/llvm-project/commit/f3fa4a34b62ec283ffda136af4dd55c223c1e6b3
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
    M mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp

  Log Message:
  -----------
  [mlir] Drop customization hooks from StandardToLLVM conversion

Summary:
These hooks were originally introduced to support passes deriving the
StandardToLLVM conversion, in particular converting types from different
dialects to LLVM types in a single-step conversion. They are no longer in use
since the pass and conversion infrastructure has evolved sufficiently to make
defining new passes with exactly the same functionality simple through the use
of populate* functions, conversion targets and type converters. Remove the
hooks. Any users of this hooks can call the dialect conversion infrastructure
directly instead, which is likely to require less LoC than these hooks.

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




More information about the All-commits mailing list