[all-commits] [llvm/llvm-project] c16c07: [mlir] StandardToLLVM: use template aliases instea...

ftynse via All-commits all-commits at lists.llvm.org
Fri Mar 27 03:15:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c16c07d4b9adb43065f875176701f9a1f6e67a5e
      https://github.com/llvm/llvm-project/commit/c16c07d4b9adb43065f875176701f9a1f6e67a5e
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp

  Log Message:
  -----------
  [mlir] StandardToLLVM: use template aliases instead of dummy classes

Multiple operation conversions from the Standard dialect to the LLVM dialect
are trivial one-to-one conversions that use only the pattern defined in base
utility classes such as OneToOneConvertToLLVMPattern and
VectorConvertToLLVMPattern. Use template aliases ("using" declarations) instead
of creating derived classes without new functionality.




More information about the All-commits mailing list