[all-commits] [llvm/llvm-project] 036088: [MLIR][Python] Add SCFIfOp Python binding
Hongzheng Chen via All-commits
all-commits at lists.llvm.org
Sat Mar 12 21:24:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 036088fd6ea271c2b8fe8deffcb98509e9fd166d
https://github.com/llvm/llvm-project/commit/036088fd6ea271c2b8fe8deffcb98509e9fd166d
Author: chhzh123 <hc676 at cornell.edu>
Date: 2022-03-13 (Sun, 13 Mar 2022)
Changed paths:
M mlir/python/mlir/dialects/_scf_ops_ext.py
M mlir/test/python/dialects/scf.py
Log Message:
-----------
[MLIR][Python] Add SCFIfOp Python binding
Current generated Python binding for the SCF dialect does not allow
users to call IfOp to create if-else branches on their own.
This PR sets up the default binding generation for scf.if operation
to address this problem.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D121076
More information about the All-commits
mailing list