llvm-project
ad89e617 - [MLIR][Python] Fix detached operation coming from `IfOp` constructor (#107286)

Commit
1 year ago
[MLIR][Python] Fix detached operation coming from `IfOp` constructor (#107286) Without this fix, `scf.if` operations would be created without a parent. Since `scf.if` operations often have no results, this caused silent bugs where the generated code was straight-up missing the operation.
Author
Parents
Loading