[all-commits] [llvm/llvm-project] 162f75: [mlir][LLVM] Add an attribute to control use of ba...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Thu Apr 6 09:20:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 162f7572067d7d2d70202f5ff42532adf6f75517
      https://github.com/llvm/llvm-project/commit/162f7572067d7d2d70202f5ff42532adf6f75517
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/TypeConverter.h
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
    M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
    M mlir/test/Conversion/FuncToLLVM/calling-convention.mlir
    M mlir/test/Conversion/FuncToLLVM/func-memref-return.mlir

  Log Message:
  -----------
  [mlir][LLVM] Add an attribute to control use of bare-pointer calling convention.

Currently the use of bare pointer calling convention is controlled
globally through use of an option in the `LLVMTypeConverter`. To allow
more fine-grained control use an attribute on a function to drive the
calling convention to use.

Reviewed By: ftynse

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




More information about the All-commits mailing list