llvm-project/mlir/lib
Jing Pu 69eb7e36aa Free the memory allocated by mlirOperationStateAddXXX methods in mlirOperationCreate.
Previously, the memory leaks on heap. Since the MlirOperationState is not intended to be used again after mlirOperationCreate, the patch simplify frees the memory in mlirOperationCreate instead of creating any new API.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D85629
2020-08-10 10:32:50 +02:00
..
Analysis [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops 2020-08-09 03:16:03 +05:30
Bindings Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -07:00
CAPI Free the memory allocated by mlirOperationStateAddXXX methods in mlirOperationCreate. 2020-08-10 10:32:50 +02:00
Conversion [mlir][spirv] Add correct handling of Kernel and Addresses capabilities 2020-08-07 12:29:21 -07:00
Dialect [MLIR][NFC] Fix misleading diagnostic error + clang-tidy fix 2020-08-09 11:35:29 +05:30
EDSC [mlir] Remove EDSC BlockBuilder, BlockHandle and related functionality 2020-06-19 09:37:44 +02:00
ExecutionEngine [mlir] take LLVMContext in MLIR-to-LLVM-IR translation 2020-08-07 14:22:30 +02:00
IR Revert "[mlir] Add a utility class, ThreadLocalCache, for storing non static thread local objects." 2020-08-08 05:31:25 +00:00
Interfaces [mlir][Vector] NFC - Improve VectorInterfaces 2020-07-20 08:24:22 -04:00
Parser [mlir] First-party modeling of LLVM types 2020-08-03 15:45:29 +02:00
Pass [MLIR] Add OpPrintingFlags to IRPrinterConfig. 2020-07-16 08:05:33 -07:00
Reducer Create Reduction Tree Pass 2020-08-07 23:17:31 +00:00
Support Revert "[mlir] Add a utility class, ThreadLocalCache, for storing non static thread local objects." 2020-08-08 05:31:25 +00:00
TableGen [mlir][ODS] Add support for specifying the namespace of an interface. 2020-07-12 14:18:32 -07:00
Target [OpenMP,MLIR] Translation of parallel operation: num_threads, if clauses 3/n 2020-08-07 20:54:24 +00:00
Transforms [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops 2020-08-09 03:16:03 +05:30
Translation [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
CMakeLists.txt Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -07:00