[all-commits] [llvm/llvm-project] 359c06: [mlir] Support llvm.readonly attribute on llvm poi...
Guray Ozen via All-commits
all-commits at lists.llvm.org
Fri Dec 9 01:37:14 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 359c064da762824fa8cfffca645e8996ddb85d53
https://github.com/llvm/llvm-project/commit/359c064da762824fa8cfffca645e8996ddb85d53
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2022-12-09 (Fri, 09 Dec 2022)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[mlir] Support llvm.readonly attribute on llvm pointers
The attribute is translated into LLVM's function attribute 'readonly'. The attribute can be only used for pointers.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D139641
More information about the All-commits
mailing list