llvm-project
56d1cf73 - [RISC-V][MC] Convert remaining diagnostic tests to llvm-mc --verify (#238223)

Commit
2 days ago
[RISC-V][MC] Convert remaining diagnostic tests to llvm-mc --verify (#238223) Convert the remaining RISC-V MC diagnostic tests (41 files: 2 newly convertible tests, Relocations/leb128.s and rvv/xsfvfofp4min.s, plus 39 tests that need manual changes on top of `convert_mc_test_to_verify.py --inline`): - Add 273 directives for diagnostics that the FileCheck lines did not check, mostly "invalid instruction" (154) and "instruction requires the following: ..." from RUN lines without the extension (e.g. the xqci*, xmips, xsmtvdot*, rvzacas, and zicfiss tests). - Move directives that the script attached to the wrong instruction because their CHECK lines had no line numbers (mostly the *c-valid.s and *zacas-valid.s tests). - Fix 8 directives in rv32c-fuzzed-invalid.s whose CHECK lines only matched the echoed source line rather than the real diagnostic. Assisted-by: AI tooling
Author
Parents
Loading