[all-commits] [llvm/llvm-project] e5aaf3: [mlir] Introduce bare ptr calling convention for M...
Diego Caballero via All-commits
all-commits at lists.llvm.org
Fri Jan 31 15:22:03 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e5aaf30cf1ab03417c38a3df2482f76e673511a0
https://github.com/llvm/llvm-project/commit/e5aaf30cf1ab03417c38a3df2482f76e673511a0
Author: Diego Caballero <diego.caballero at intel.com>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Changed paths:
M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
M mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
A mlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
R mlir/test/Conversion/StandardToLLVM/convert-memref-ops.mlir
A mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
A mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
Log Message:
-----------
[mlir] Introduce bare ptr calling convention for MemRefs in LLVM dialect
Summary:
This patch introduces an alternative calling convention for
MemRef function arguments in LLVM dialect. It converts MemRef
function arguments to LLVM bare pointers to the MemRef element
type instead of creating a MemRef descriptor. Bare pointers are
then promoted to a MemRef descriptors at the beginning of the
function. This calling convention is only enabled with a flag.
Reviewers: ftynse, bondhugula, nicolasvasilache, rriddle, mehdi_amini
Reviewed By: ftynse, rriddle, mehdi_amini
Subscribers: Joonsoo, flaub, merge_guards_bot, jholewinski, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, csigg, arpith-jacob, mgester, lucyrfox, herhut, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72802
More information about the All-commits
mailing list