aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
diff options
context:
space:
mode:
authorValery Pykhtin <valery.pykhtin@amd.com>2025-11-06 11:35:46 +0100
committerGitHub <noreply@github.com>2025-11-06 11:35:46 +0100
commit59f6f33bc3d666acdc5e4c822dfaddc92dee1f83 (patch)
tree8d69cef820c5e17b6a280ce04f5ab39c75def98f /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
parent3ea1ffde025c1be8062020bdaa42cc54d999ef55 (diff)
downloadllvm-59f6f33bc3d666acdc5e4c822dfaddc92dee1f83.zip
llvm-59f6f33bc3d666acdc5e4c822dfaddc92dee1f83.tar.gz
llvm-59f6f33bc3d666acdc5e4c822dfaddc92dee1f83.tar.bz2
Reapply "[utils][UpdateLLCTestChecks] Add MIR support to update_llc_test_checks.py." (#164965) (#166575)
This change enables update_llc_test_checks.py to automatically generate MIR checks for RUN lines that use `-stop-before` or `-stop-after` flags allowing tests to verify intermediate compilation stages (e.g., after instruction selection but before peephole optimizations) alongside the final assembly output. If `-debug-only` flag is present in the run line it's considered as the main point of interest for testing and stop flags above are ignored (that is no MIR checks are generated). This resulted from the scenario, when I needed to test two instruction matching patterns where the later pattern in the peepholer reverts the earlier pattern in the instruction selector and distinguish it from the case when the earlier pattern didn't worked at all. Initially created by Claude Sonnet 4.5 it was improved later to handle conflicts in MIR <-> ASM prefixes and formatting.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
0 files changed, 0 insertions, 0 deletions