Skip to content
Commit 0b7c184c authored by Mehdi Amini's avatar Mehdi Amini
Browse files

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment