[all-commits] [llvm/llvm-project] 81233c: [MLIR][python bindings] Add `PyValue.print_as_oper...
Maksim Levental via All-commits
all-commits at lists.llvm.org
Mon May 8 08:48:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81233c70cbf6a343d4e86c5ec99dfd427b25e975
https://github.com/llvm/llvm-project/commit/81233c70cbf6a343d4e86c5ec99dfd427b25e975
Author: max <maksim.levental at gmail.com>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/include/mlir/IR/Value.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/CAPI/IR/IR.cpp
M mlir/lib/IR/AsmPrinter.cpp
M mlir/test/python/ir/value.py
Log Message:
-----------
[MLIR][python bindings] Add `PyValue.print_as_operand` (`Value::printAsOperand`)
Useful for easier debugging (no need to regex out all of the stuff around the id).
Differential Revision: https://reviews.llvm.org/D149902
More information about the All-commits
mailing list