[mlir] Fix unsafe create operation in GreedyPatternRewriter
When trying to fold an operation during operation creation check that the operation folding succeeds before inserting the op. Differential Revision: https://reviews.llvm.org/D76415
Loading
Please register or sign in to comment