Add replaceSingeleResultOpWithNewOp to rewriter.
Common transformation is replacing a op with single result with new op. Adding two variants to enable specifying list of ops that could be removed if they are dead. PiperOrigin-RevId: 220473903
Loading
Please sign in to comment