aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-10-03 16:39:01 +0200
committerGitHub <noreply@github.com>2025-10-03 16:39:01 +0200
commit83c135cad3bec97947e1635b6d8de9ec883041dd (patch)
tree52c609e446770d588426b527d979e158f5b57b64 /llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
parentf8f6c0b6ecb9d87ead48246d4fadf6048207375d (diff)
downloadllvm-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 'llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp')
0 files changed, 0 insertions, 0 deletions