Add assertion in PatternRewriter::create<> to defend the same way as...
Add assertion in PatternRewriter::create<> to defend the same way as OpBuilder::create<> against missing dialect registration (NFC) The code would have failed a few line later, but that way the error message is more clear/friendly to debug.
parent
5a6ff2bb
Please register or sign in to comment