[all-commits] [llvm/llvm-project] 68033a: [mlir][transform] Fix crash in transform.get_paren...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Fri Sep 15 12:32:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68033aaac5c94d1199e6cc3e6406e4d3fa10b040
https://github.com/llvm/llvm-project/commit/68033aaac5c94d1199e6cc3e6406e4d3fa10b040
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/test/Dialect/Transform/test-interpreter.mlir
Log Message:
-----------
[mlir][transform] Fix crash in transform.get_parent_op. (#66492)
The previous implementation crashed if run on a `builtin.module` using
an `op_name` filter (because the initial value of `parent` in the while
loop was a `nullptr`). This PR fixes the crash and adds a test.
More information about the All-commits
mailing list