diff options
author | Matthias Springer <me@m-sp.org> | 2025-10-03 16:39:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 16:39:01 +0200 |
commit | 83c135cad3bec97947e1635b6d8de9ec883041dd (patch) | |
tree | 52c609e446770d588426b527d979e158f5b57b64 /libcxx/include/__algorithm/comp.h | |
parent | f8f6c0b6ecb9d87ead48246d4fadf6048207375d (diff) | |
download | llvm-83c135cad3bec97947e1635b6d8de9ec883041dd.zip llvm-83c135cad3bec97947e1635b6d8de9ec883041dd.tar.gz llvm-83c135cad3bec97947e1635b6d8de9ec883041dd.tar.bz2 |
[mlir] Dialect conversion: Print note when replacement types do not match legalized types (#161802)
When running with `-debug`, print a note when the replacement types
(during a `ConversionPatternRewriter::replaceOp`) do not match the
legalized types of the current type converter. That's not an API
violation, but it could indicate a bug in user code.
Example output:
```
[dialect-conversion:1] ** Replace : 'test.multiple_1_to_n_replacement'(0x56b745f99470)
[dialect-conversion:1] Note: Replacing op result of type f16 with value(s) of type (f16, f16), but the legalized type(s) is/are (f16)
```
Diffstat (limited to 'libcxx/include/__algorithm/comp.h')
0 files changed, 0 insertions, 0 deletions