[mlir][llvm] Add a test for memref.copy lowering to llvm
authorStephan Herhut <herhut@google.com>
Tue, 29 Jun 2021 14:47:58 +0000 (16:47 +0200)
committerStephan Herhut <herhut@google.com>
Wed, 30 Jun 2021 08:49:29 +0000 (10:49 +0200)
commitdb2de8d7f1eb37f5a7c1d2de61cdd9d79647ea78
tree73bbf825c3fadf347a4f78d4eefb8ae7075f56cc
parentb062fff87adcfa2e252cbce43d92b61b76614bd5
[mlir][llvm] Add a test for memref.copy lowering to llvm

This was missing and also there was a bug in the lowering itself, which went unnoticed due to it.

Differential Revision: https://reviews.llvm.org/D105122
mlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
mlir/test/mlir-cpu-runner/copy.mlir [new file with mode: 0644]