[all-commits] [llvm/llvm-project] 76ba5e: [mlir] LLVM lowering: don't use calling convention...

ftynse via All-commits all-commits at lists.llvm.org
Thu Apr 13 03:57:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76ba5ed053f5f2fe50c509103a45477a7f353a0f
      https://github.com/llvm/llvm-project/commit/76ba5ed053f5f2fe50c509103a45477a7f353a0f
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/TypeConverter.h
    M mlir/lib/Conversion/LLVMCommon/Pattern.cpp
    M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp

  Log Message:
  -----------
  [mlir] LLVM lowering: don't use calling convention in op returns

Conversions to the LLVM dialect have an option to use the "bare pointer"
calling convention that converts memref types differently than the
default convention. It has crept into the conversion of operations that
are not related to calls but do require multiresult-to-struct packing.
Use a similar mechanism for the latter without using the calling
convention.

Reviewed By: gysit

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




More information about the All-commits mailing list