[all-commits] [llvm/llvm-project] 4aa217: [mlir][CAPI] Attribute set/remove on operations.
Stella Laurenzo via All-commits
all-commits at lists.llvm.org
Wed Oct 7 10:06:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4aa217160e5f06a96c6effc4950c3b402374de58
https://github.com/llvm/llvm-project/commit/4aa217160e5f06a96c6effc4950c3b402374de58
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/test/CAPI/ir.c
Log Message:
-----------
[mlir][CAPI] Attribute set/remove on operations.
* New functions: mlirOperationSetAttributeByName, mlirOperationRemoveAttributeByName
* Also adds some *IsNull checks and standardizes the rest to use "static inline" form, which makes them all non-opaque and not part of the ABI (which is desirable).
* Changes needed to resolve TODOs in npcomp PyTorch capture.
Differential Revision: https://reviews.llvm.org/D88946
More information about the All-commits
mailing list