[all-commits] [llvm/llvm-project] ad89e6: [MLIR][Python] Fix detached operation coming from ...
Matt Hofmann via All-commits
all-commits at lists.llvm.org
Wed Sep 4 21:12:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad89e617c703239518187912540b8ea811dc2eda
https://github.com/llvm/llvm-project/commit/ad89e617c703239518187912540b8ea811dc2eda
Author: Matt Hofmann <mrh259 at cornell.edu>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M mlir/python/mlir/dialects/scf.py
M mlir/test/python/dialects/scf.py
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list