forked from OSchip/llvm-project
a57b398906
Previously we were using PatternRewrite::replaceOpWithNewOp() to both create the new op inline and rewrite the matched op. That does not work well if we want to generate multiple ops in a sequence. To support that, this CL changed to assign each newly created op to a separate variable. This CL also refactors how PatternEmitter performs the directive dispatch logic. PiperOrigin-RevId: 233206819 |
||
---|---|---|
.. | ||
Argument.cpp | ||
Attribute.cpp | ||
Operator.cpp | ||
Pattern.cpp | ||
Predicate.cpp | ||
Type.cpp |