[all-commits] [llvm/llvm-project] a97e35: [MLIR] Support `global_memref` and `get_global_mem...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Mon Nov 9 10:55:02 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a97e357e8ed46e578cb34ec795ba4f9fdefee189
https://github.com/llvm/llvm-project/commit/a97e357e8ed46e578cb34ec795ba4f9fdefee189
Author: Rahul Joshi <jurahul at google.com>
Date: 2020-11-09 (Mon, 09 Nov 2020)
Changed paths:
M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
M mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
A mlir/test/mlir-cpu-runner/global_memref.mlir
Log Message:
-----------
[MLIR] Support `global_memref` and `get_global_memref` in standard -> LLVM conversion.
- Convert `global_memref` to LLVM::GlobalOp.
- Convert `get_global_memref` to a memref descriptor with a pointer to the first element
of the global stashed in it.
- Extend unit test and a mlir-cpu-runner test to validate the generated LLVM IR.
Differential Revision: https://reviews.llvm.org/D90803
More information about the All-commits
mailing list