[all-commits] [llvm/llvm-project] aa00e3: [mlir][llvm] Support pointer entries in data layou...
rk via All-commits
all-commits at lists.llvm.org
Wed Sep 21 08:16:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aa00e3e6c107a914a20e118782073f039c785abc
https://github.com/llvm/llvm-project/commit/aa00e3e6c107a914a20e118782073f039c785abc
Author: rkayaith <rkayaith at gmail.com>
Date: 2022-09-21 (Wed, 21 Sep 2022)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/data-layout.mlir
Log Message:
-----------
[mlir][llvm] Support pointer entries in data layout translation
This adds support for pointer DLTI entries in LLVMIR export, e.g.
```
// translated to: p0:32:64:128
#dlti.dl_entry<!llvm.ptr, dense<[32,64,128]> : vector<3xi32>>
// translated to: p1:32:32:32:64
#dlti.dl_entry<!llvm.ptr<1>, dense<[32,32,32,64]> : vector<4xi32>>
```
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D133434
More information about the All-commits
mailing list