Unverified Commit eb42868f authored by Billy Zhu's avatar Billy Zhu Committed by GitHub
Browse files

[MLIR] Handle materializeConstant failure in GreedyPatternRewriteDriver (#77258)

Make GreedyPatternRewriteDriver handle failures of `materializeConstant`
gracefully. Previously it was not checking whether the returned op was
null and crashing. This PR handles it similarly to how OperationFolder
does it.
parent c1023c58
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment