This revision adds a new replaceOpWithIf hook that replaces uses of an operation that satisfy a given functor. If all uses are replaced, the operation gets erased in a similar manner to replaceOp. DialectConversion support will be added in a followup as this requires adjusting how replacements are tracked there.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo