llvm-project
decf42b7 - [Support][llvm-mc] Match the full diagnostic message in llvm-mc --verify (#242553)

Commit
2 days ago
[Support][llvm-mc] Match the full diagnostic message in llvm-mc --verify (#242553) Like Clang's -verify, `llvm-mc --verify` directives currently match a substring of the diagnostic message, so tests that want to check the complete message cannot use --verify (see #242096). Since --verify is new in llvm-mc, make it match the full message by default: plain directives must equal the message and `-re` directives must match all of it. `--verify-allow-partial-match` restores substring matching. MLIR's verifier keeps substring matching. Update the RISC-V tests that relied on substring matches. Assisted-by: AI tooling Pull-Request: https://github.com/llvm/llvm-project/pull/242553
Author
Parents
Loading