llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-risc-v

Author: Alexander Richardson (arichardson)

<details>
<summary>Changes</summary>

Convert the `not llvm-mc ... 2&gt;&amp;1 | FileCheck` tests in
llvm/test/MC/RISCV that already check every diagnostic to
`llvm-mc --verify`, using `llvm/utils/convert_mc_test_to_verify.py
--inline` without any manual changes. The remaining tests need
additional directives and are converted separately.

Assisted-by: AI tooling

---

Patch is 2.27 MiB, truncated to 20.00 KiB below, full version: 
https://github.com/llvm/llvm-project/pull/227571.diff


264 Files Affected:

- (modified) llvm/test/MC/RISCV/Relocations/data-directive-specifier.s (+7-13) 
- (modified) llvm/test/MC/RISCV/Relocations/expr-err.s (+11-21) 
- (modified) llvm/test/MC/RISCV/XTHeadBa-invalid.s (+6-6) 
- (modified) llvm/test/MC/RISCV/XTHeadVdot-valid.s (+15-30) 
- (modified) llvm/test/MC/RISCV/attribute-arch-invalid.s (+3-4) 
- (modified) llvm/test/MC/RISCV/cfi-regs-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/compressed-zicfiss.s (+9-18) 
- (modified) llvm/test/MC/RISCV/corev/XCValu-invalid.s (+179-358) 
- (modified) llvm/test/MC/RISCV/corev/XCValu-valid.s (+77-154) 
- (modified) llvm/test/MC/RISCV/corev/XCVbi-invalid.s (+17-34) 
- (modified) llvm/test/MC/RISCV/corev/XCVbi.s (+7-14) 
- (modified) llvm/test/MC/RISCV/corev/XCVbitmanip-invalid.s (+93-186) 
- (modified) llvm/test/MC/RISCV/corev/XCVbitmanip.s (+49-98) 
- (modified) llvm/test/MC/RISCV/corev/XCVelw-invalid.s (+10-20) 
- (modified) llvm/test/MC/RISCV/corev/XCVelw-valid.s (+4-8) 
- (modified) llvm/test/MC/RISCV/corev/XCVmac-invalid.s (+159-318) 
- (modified) llvm/test/MC/RISCV/corev/XCVmac-valid.s (+61-122) 
- (modified) llvm/test/MC/RISCV/corev/XCVmem-invalid.s (+141-173) 
- (modified) llvm/test/MC/RISCV/corev/XCVmem-valid.s (+49-98) 
- (modified) llvm/test/MC/RISCV/corev/XCVsimd-invalid.s (+1356-2712) 
- (modified) llvm/test/MC/RISCV/corev/XCVsimd.s (+881-1762) 
- (modified) llvm/test/MC/RISCV/data-directives-invalid.s (+12-22) 
- (modified) llvm/test/MC/RISCV/directive-variant_cc.s (+3-4) 
- (modified) llvm/test/MC/RISCV/empty-string.s (+2-2) 
- (modified) llvm/test/MC/RISCV/fixups-diagnostics.s (+4-4) 
- (modified) llvm/test/MC/RISCV/function-call-invalid.s (+14-14) 
- (modified) llvm/test/MC/RISCV/hilo-constaddr-expr.s (+5-9) 
- (modified) llvm/test/MC/RISCV/hinval-invalid.s (+8-12) 
- (modified) llvm/test/MC/RISCV/insn-invalid.s (+36-36) 
- (modified) llvm/test/MC/RISCV/insn_c-invalid.s (+14-14) 
- (modified) llvm/test/MC/RISCV/insn_xqci-invalid.s (+37-74) 
- (modified) llvm/test/MC/RISCV/invalid-attribute.s (+13-24) 
- (modified) llvm/test/MC/RISCV/option-invalid.s (+24-44) 
- (modified) llvm/test/MC/RISCV/pcrel-lo12-invalid.s (+5-5) 
- (modified) llvm/test/MC/RISCV/priv-invalid.s (+48-48) 
- (modified) llvm/test/MC/RISCV/priv-rv64-invalid.s (+10-10) 
- (modified) llvm/test/MC/RISCV/pseudo-jump-invalid.s (+5-5) 
- (modified) llvm/test/MC/RISCV/reloc-directive-err.s (+2-3) 
- (modified) llvm/test/MC/RISCV/rv32-only-csr-names.s (+148-149) 
- (modified) llvm/test/MC/RISCV/rv32c-invalid.s (+59-115) 
- (modified) llvm/test/MC/RISCV/rv32d-invalid.s (+18-18) 
- (modified) llvm/test/MC/RISCV/rv32dc-invalid.s (+6-6) 
- (modified) llvm/test/MC/RISCV/rv32e-xqccmp-invalid.s (+6-11) 
- (modified) llvm/test/MC/RISCV/rv32e-zcmp-invalid.s (+5-9) 
- (modified) llvm/test/MC/RISCV/rv32f-invalid.s (+17-17) 
- (modified) llvm/test/MC/RISCV/rv32fc-invalid.s (+6-6) 
- (modified) llvm/test/MC/RISCV/rv32i-aliases-invalid.s (+102-102) 
- (modified) llvm/test/MC/RISCV/rv32m-invalid.s (+6-6) 
- (modified) llvm/test/MC/RISCV/rv32p-invalid.s (+117-118) 
- (modified) llvm/test/MC/RISCV/rv32q-invalid.s (+12-12) 
- (modified) llvm/test/MC/RISCV/rv32xqccmp-invalid.s (+15-30) 
- (modified) llvm/test/MC/RISCV/rv32xtheadbs-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/rv32xtheadfmemidx-d-invalid.s (+5-5) 
- (modified) llvm/test/MC/RISCV/rv32xtheadfmemidx-f-invalid.s (+7-7) 
- (modified) llvm/test/MC/RISCV/rv32xtheadmac-invalid.s (+3-3) 
- (modified) llvm/test/MC/RISCV/rv32xtheadmemidx-invalid.s (+13-13) 
- (modified) llvm/test/MC/RISCV/rv32xtheadmempair-invalid.s (+20-20) 
- (modified) llvm/test/MC/RISCV/rv32zaamo-invalid.s (+8-8) 
- (modified) llvm/test/MC/RISCV/rv32zacas-invalid.s (+12-12) 
- (modified) llvm/test/MC/RISCV/rv32zalasr-invalid.s (+14-27) 
- (modified) llvm/test/MC/RISCV/rv32zalrsc-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/rv32zba-invalid.s (+9-9) 
- (modified) llvm/test/MC/RISCV/rv32zbb-invalid.s (+25-25) 
- (modified) llvm/test/MC/RISCV/rv32zbc-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/rv32zbkc-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/rv32zbkx-invalid.s (+3-3) 
- (modified) llvm/test/MC/RISCV/rv32zbs-invalid.s (+17-17) 
- (modified) llvm/test/MC/RISCV/rv32zclsd-invalid.s (+25-25) 
- (modified) llvm/test/MC/RISCV/rv32zcmop-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/rv32zcmp-invalid.s (+18-36) 
- (modified) llvm/test/MC/RISCV/rv32zdinx-invalid.s (+13-13) 
- (modified) llvm/test/MC/RISCV/rv32zfa-only-valid.s (+3-7) 
- (modified) llvm/test/MC/RISCV/rv32zfh-invalid.s (+20-21) 
- (modified) llvm/test/MC/RISCV/rv32zfinx-invalid.s (+14-14) 
- (modified) llvm/test/MC/RISCV/rv32zhinx-invalid.s (+12-12) 
- (modified) llvm/test/MC/RISCV/rv32zhinxmin-invalid.s (+7-7) 
- (modified) llvm/test/MC/RISCV/rv32zilsd-invalid.s (+9-9) 
- (modified) llvm/test/MC/RISCV/rv32zimop-invalid.s (+3-3) 
- (modified) llvm/test/MC/RISCV/rv32zknd-only-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rv32zkne-only-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rv32zksed-invalid.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rv32zmmul-invaild.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rv64d-invalid.s (+15-15) 
- (modified) llvm/test/MC/RISCV/rv64d-valid.s (+11-22) 
- (modified) llvm/test/MC/RISCV/rv64e-xqccmp-invalid.s (+6-11) 
- (modified) llvm/test/MC/RISCV/rv64e-zcmp-invalid.s (+5-9) 
- (modified) llvm/test/MC/RISCV/rv64f-invalid.s (+13-13) 
- (modified) llvm/test/MC/RISCV/rv64f-valid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rv64h-invalid.s (+11-13) 
- (modified) llvm/test/MC/RISCV/rv64i-aliases-invalid.s (+102-102) 
- (modified) llvm/test/MC/RISCV/rv64i-invalid.s (+16-16) 
- (modified) llvm/test/MC/RISCV/rv64ih-valid.s (+7-14) 
- (modified) llvm/test/MC/RISCV/rv64p-invalid.s (+55-56) 
- (modified) llvm/test/MC/RISCV/rv64q-invalid.s (+5-5) 
- (modified) llvm/test/MC/RISCV/rv64q-valid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rv64xqccmp-invalid.s (+12-24) 
- (modified) llvm/test/MC/RISCV/rv64xtheadbs-invalid.s (+3-3) 
- (modified) llvm/test/MC/RISCV/rv64xtheadfmemidx-invalid.s (+8-8) 
- (modified) llvm/test/MC/RISCV/rv64xtheadmemidx-invalid.s (+54-56) 
- (modified) llvm/test/MC/RISCV/rv64xtheadmempair-invalid.s (+18-18) 
- (modified) llvm/test/MC/RISCV/rv64zaamo-invalid.s (+8-8) 
- (modified) llvm/test/MC/RISCV/rv64zaamo-valid.s (+38-76) 
- (modified) llvm/test/MC/RISCV/rv64zacas-invalid.s (+12-12) 
- (modified) llvm/test/MC/RISCV/rv64zalasr-invalid.s (+10-19) 
- (modified) llvm/test/MC/RISCV/rv64zalasr-valid.s (+5-11) 
- (modified) llvm/test/MC/RISCV/rv64zalrsc-invalid.s (+4-4) 
- (modified) llvm/test/MC/RISCV/rv64zalrsc-valid.s (+10-20) 
- (modified) llvm/test/MC/RISCV/rv64zba-invalid.s (+8-8) 
- (modified) llvm/test/MC/RISCV/rv64zbb-invalid.s (+11-11) 
- (modified) llvm/test/MC/RISCV/rv64zbs-invalid.s (+17-17) 
- (modified) llvm/test/MC/RISCV/rv64zcmp-invalid.s (+34-68) 
- (modified) llvm/test/MC/RISCV/rv64zdinx-invalid.s (+9-9) 
- (modified) llvm/test/MC/RISCV/rv64zdinx-valid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rv64zfa-only-valid.s (+3-7) 
- (modified) llvm/test/MC/RISCV/rv64zfh-invalid.s (+15-16) 
- (modified) llvm/test/MC/RISCV/rv64zfh-valid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rv64zfinx-invalid.s (+7-7) 
- (modified) llvm/test/MC/RISCV/rv64zfinx-valid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rv64zhinx-invalid.s (+7-7) 
- (modified) llvm/test/MC/RISCV/rv64zhinx-valid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rv64zhinxmin-invalid.s (+7-7) 
- (modified) llvm/test/MC/RISCV/rv64zkne-only-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rv64zksed-invalid.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rv64zmmul-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rva-aliases-invalid.s (+101-101) 
- (modified) llvm/test/MC/RISCV/rvc-hints-invalid.s (+13-23) 
- (modified) llvm/test/MC/RISCV/rve-invalid.s (+39-73) 
- (modified) llvm/test/MC/RISCV/rvi-pseudos-invalid.s (+34-53) 
- (modified) llvm/test/MC/RISCV/rvq-zfhmin-invalid.s (+6-8) 
- (modified) llvm/test/MC/RISCV/rvv/add.s (+60-120) 
- (modified) llvm/test/MC/RISCV/rvv/and.s (+7-14) 
- (modified) llvm/test/MC/RISCV/rvv/clip.s (+13-26) 
- (modified) llvm/test/MC/RISCV/rvv/compare.s (+71-142) 
- (modified) llvm/test/MC/RISCV/rvv/convert.s (+44-88) 
- (modified) llvm/test/MC/RISCV/rvv/div.s (+17-34) 
- (modified) llvm/test/MC/RISCV/rvv/ext.s (+13-26) 
- (modified) llvm/test/MC/RISCV/rvv/fadd.s (+13-26) 
- (modified) llvm/test/MC/RISCV/rvv/fcompare.s (+26-52) 
- (modified) llvm/test/MC/RISCV/rvv/fdiv.s (+7-14) 
- (modified) llvm/test/MC/RISCV/rvv/fmacc.s (+49-98) 
- (modified) llvm/test/MC/RISCV/rvv/fminmax.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rvv/fmul.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rvv/fmv.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rvv/fothers.s (+14-28) 
- (modified) llvm/test/MC/RISCV/rvv/freduction.s (+14-28) 
- (modified) llvm/test/MC/RISCV/rvv/fsub.s (+15-30) 
- (modified) llvm/test/MC/RISCV/rvv/invalid-alt.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rvv/invalid-eew.s (+65-130) 
- (modified) llvm/test/MC/RISCV/rvv/load.s (+65-130) 
- (modified) llvm/test/MC/RISCV/rvv/macc.s (+31-62) 
- (modified) llvm/test/MC/RISCV/rvv/mask.s (+27-54) 
- (modified) llvm/test/MC/RISCV/rvv/minmax.s (+17-34) 
- (modified) llvm/test/MC/RISCV/rvv/mul.s (+33-66) 
- (modified) llvm/test/MC/RISCV/rvv/mv.s (+10-20) 
- (modified) llvm/test/MC/RISCV/rvv/or.s (+7-14) 
- (modified) llvm/test/MC/RISCV/rvv/others.s (+25-50) 
- (modified) llvm/test/MC/RISCV/rvv/reduction.s (+22-44) 
- (modified) llvm/test/MC/RISCV/rvv/shift.s (+44-88) 
- (modified) llvm/test/MC/RISCV/rvv/sign-injection.s (+13-26) 
- (modified) llvm/test/MC/RISCV/rvv/store.s (+43-86) 
- (modified) llvm/test/MC/RISCV/rvv/sub.s (+51-102) 
- (modified) llvm/test/MC/RISCV/rvv/vsetvl-alt.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/xor.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rvv/xsfmm-invalid.s (+14-18) 
- (modified) llvm/test/MC/RISCV/rvv/xsfmm.s (+31-62) 
- (modified) llvm/test/MC/RISCV/rvv/xsfvcp.s (+30-60) 
- (modified) llvm/test/MC/RISCV/rvv/xsfvfnrclip.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/xsfvfwmacc.s (+3-6) 
- (modified) llvm/test/MC/RISCV/rvv/xsfvqmacc.s (+10-20) 
- (modified) llvm/test/MC/RISCV/rvv/zvabd.s (+19-38) 
- (modified) llvm/test/MC/RISCV/rvv/zvbb.s (+8-16) 
- (modified) llvm/test/MC/RISCV/rvv/zvbc.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvdot4a8i.s (+15-30) 
- (modified) llvm/test/MC/RISCV/rvv/zvfbdota32f-invalid.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvfbdota32f.s (+3-6) 
- (modified) llvm/test/MC/RISCV/rvv/zvfbfmin.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvfbfwma-invalid.s (+6-8) 
- (modified) llvm/test/MC/RISCV/rvv/zvfbfwma.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvfofp8min.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/zvfqwbdota8f-invalid.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvfqwbdota8f.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/zvfqwdota8f.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvfwbdota16bf-invalid.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvfwbdota16bf.s (+3-6) 
- (modified) llvm/test/MC/RISCV/rvv/zvfwdota16bf.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rvv/zvkb.s (+10-20) 
- (modified) llvm/test/MC/RISCV/rvv/zvkg.s (+3-6) 
- (modified) llvm/test/MC/RISCV/rvv/zvkgs.s (+3-6) 
- (modified) llvm/test/MC/RISCV/rvv/zvkned.s (+16-32) 
- (modified) llvm/test/MC/RISCV/rvv/zvknh.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rvv/zvksed.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/zvksh.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rvv/zvlsseg.s (+514-1028) 
- (modified) llvm/test/MC/RISCV/rvv/zvqwbdota-invalid.s (+6-12) 
- (modified) llvm/test/MC/RISCV/rvv/zvqwbdota.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/zvqwdotai8i16.s (+4-8) 
- (modified) llvm/test/MC/RISCV/rvv/zvvfmm.s (+11-22) 
- (modified) llvm/test/MC/RISCV/rvv/zvvmm.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvv/zvvmtls-invalid.s (+11-22) 
- (modified) llvm/test/MC/RISCV/rvv/zvvmtls.s (+13-26) 
- (modified) llvm/test/MC/RISCV/rvv/zvvmttls-invalid.s (+11-22) 
- (modified) llvm/test/MC/RISCV/rvv/zvvmttls.s (+13-26) 
- (modified) llvm/test/MC/RISCV/rvy-invalid-attributes.s (+10-19) 
- (modified) llvm/test/MC/RISCV/rvy/rvy-basic-invalid.s (+21-36) 
- (modified) llvm/test/MC/RISCV/rvy/rvy-zyhybrid-invalid.s (+9-18) 
- (modified) llvm/test/MC/RISCV/rvzabha-invalid.s (+10-10) 
- (modified) llvm/test/MC/RISCV/rvzalasr-valid.s (+14-30) 
- (modified) llvm/test/MC/RISCV/rvzcb-invalid.s (+7-14) 
- (modified) llvm/test/MC/RISCV/rvzcmt-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/rvzcmt-valid.s (+4-10) 
- (modified) llvm/test/MC/RISCV/rvzfbfmin-invalid.s (+13-15) 
- (modified) llvm/test/MC/RISCV/rvzfhmin-invalid.s (+13-15) 
- (modified) llvm/test/MC/RISCV/rvzicbom-invalid.s (+15-15) 
- (modified) llvm/test/MC/RISCV/rvzicbop-invalid.s (+18-18) 
- (modified) llvm/test/MC/RISCV/rvzicboz-invalid.s (+9-9) 
- (modified) llvm/test/MC/RISCV/rvzicond-invalid.s (+8-8) 
- (modified) llvm/test/MC/RISCV/rvzihintntl-invalid.s (+12-12) 
- (modified) llvm/test/MC/RISCV/rvzihintntlc-invalid.s (+10-10) 
- (modified) llvm/test/MC/RISCV/smctr-ssctr-valid.s (+3-6) 
- (modified) llvm/test/MC/RISCV/smrnmi-invalid.s (+3-3) 
- (modified) llvm/test/MC/RISCV/spmp-csr-names.s (+2-4) 
- (modified) llvm/test/MC/RISCV/tail-call-invalid.s (+12-12) 
- (modified) llvm/test/MC/RISCV/tlsdesc.s (+21-29) 
- (modified) llvm/test/MC/RISCV/xaifet-amo-valid.s (+182-364) 
- (modified) llvm/test/MC/RISCV/xaifet-simd-valid.s (+133-266) 
- (modified) llvm/test/MC/RISCV/xandesperf-fixups-diagnostics.s (+3-3) 
- (modified) llvm/test/MC/RISCV/xandesperf-rv64-invalid.s (+17-18) 
- (modified) llvm/test/MC/RISCV/xandesvbfhcvt-valid.s (+4-8) 
- (modified) llvm/test/MC/RISCV/xandesvdot-valid.s (+8-16) 
- (modified) llvm/test/MC/RISCV/xandesvpackfph-valid.s (+6-12) 
- (modified) llvm/test/MC/RISCV/xandesvsinth-invalid.s (+6-10) 
- (modified) llvm/test/MC/RISCV/xandesvsintload-valid.s (+6-12) 
- (modified) llvm/test/MC/RISCV/xqccmi-invalid.s (+3-5) 
- (modified) llvm/test/MC/RISCV/xqccmt-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/xqci-access-pseudos.s (+46-47) 
- (modified) llvm/test/MC/RISCV/xqcibm-invalid.s (+280-310) 
- (modified) llvm/test/MC/RISCV/xqciint-csrs-invalid.s (+63-126) 
- (modified) llvm/test/MC/RISCV/xqciio-invalid.s (+14-20) 
- (modified) llvm/test/MC/RISCV/xqcilo-pseudos-invalid.s (+60-70) 
- (modified) llvm/test/MC/RISCV/xqcilsm-invalid.s (+62-76) 
- (modified) llvm/test/MC/RISCV/xqcisls-invalid.s (+74-84) 
- (modified) llvm/test/MC/RISCV/xsfmclic-invalid.s (+7-14) 
- (modified) llvm/test/MC/RISCV/xsfsclic-invalid.s (+7-14) 
- (modified) llvm/test/MC/RISCV/xsfvfexp.s (+2-4) 
- (modified) llvm/test/MC/RISCV/xsfvfexpa.s (+2-4) 
- (modified) llvm/test/MC/RISCV/xsifive-invalid.s (+11-11) 
- (modified) llvm/test/MC/RISCV/xsmtvdot-invalid.s (+12-24) 
- (modified) llvm/test/MC/RISCV/xsmtvdotii-invalid.s (+63-126) 
- (modified) llvm/test/MC/RISCV/xtheadcmo-invalid.s (+23-23) 
- (modified) llvm/test/MC/RISCV/xtheadcondmov-invalid.s (+8-8) 
- (modified) llvm/test/MC/RISCV/xtheadmac-invalid.s (+7-10) 
- (modified) llvm/test/MC/RISCV/xtheadsync-invalid.s (+7-7) 
- (modified) llvm/test/MC/RISCV/xwchc-invalid.s (+17-17) 
- (modified) llvm/test/MC/RISCV/zfa-double-invalid.s (+15-32) 
- (modified) llvm/test/MC/RISCV/zfa-half-invalid.s (+14-30) 
- (modified) llvm/test/MC/RISCV/zfa-invalid.s (+40-40) 
- (modified) llvm/test/MC/RISCV/zfa-quad-invalid.s (+14-30) 
- (modified) llvm/test/MC/RISCV/zfa-valid.s (+303-608) 
- (modified) llvm/test/MC/RISCV/zfa-zfhmin-zvfh-valid.s (+3-6) 
- (modified) llvm/test/MC/RISCV/zicfilp-invalid.s (+5-10) 
- (modified) llvm/test/MC/RISCV/zicfiss-invalid.s (+7-14) 
- (modified) llvm/test/MC/RISCV/zilx-invalid.s (+12-24) 
- (modified) llvm/test/MC/RISCV/zilx-valid-rv32.s (+11-22) 
- (modified) llvm/test/MC/RISCV/zilx-valid-rv64.s (+12-24) 


``````````diff
diff --git a/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s 
b/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
index 2b97dca147bfe..831018466beea 100644
--- a/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
+++ b/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
@@ -1,7 +1,7 @@
 # RUN: llvm-mc -triple=riscv64 -filetype=obj %s | llvm-readobj -r - | 
FileCheck %s --check-prefixes=CHECK,RV64
 # RUN: llvm-mc -triple=riscv32 -filetype=obj %s | llvm-readobj -r - | 
FileCheck %s --check-prefixes=CHECK,RV32
 
-# RUN: not llvm-mc -triple=riscv64 -filetype=obj %s --defsym ERR=1 -o 
/dev/null 2>&1 | FileCheck %s --check-prefix=ERR --implicit-check-not=error:
+# RUN: llvm-mc --verify -triple=riscv64 -filetype=obj %s --defsym ERR=1 -o 
/dev/null
 
 .globl g
 g:
@@ -28,21 +28,15 @@ data1:
 .word %gotpcrel(extern+4), %gotpcrel(extern-5)
 
 .ifdef ERR
-# ERR: [[#@LINE+1]]:8: error: %pltpcrel can only be used in a .word directive
-.quad %pltpcrel(g)
+.quad %pltpcrel(g) # expected-error:8 {{%pltpcrel can only be used in a .word 
directive}}
 
-# ERR: [[#@LINE+1]]:8: error: expected relocatable expression
-.word %pltpcrel(g-.)
+.word %pltpcrel(g-.) # expected-error:8 {{expected relocatable expression}}
 
-# ERR: [[#@LINE+1]]:8: error: expected relocatable expression
-.word %pltpcrel(extern - und)
+.word %pltpcrel(extern - und) # expected-error:8 {{expected relocatable 
expression}}
 
-# ERR: [[#@LINE+1]]:8: error: %gotpcrel can only be used in a .word directive
-.quad %gotpcrel(g)
+.quad %gotpcrel(g) # expected-error:8 {{%gotpcrel can only be used in a .word 
directive}}
 
-# ERR: [[#@LINE+1]]:8: error: expected relocatable expression
-.word %gotpcrel(extern - .)
+.word %gotpcrel(extern - .) # expected-error:8 {{expected relocatable 
expression}}
 
-# ERR: [[#@LINE+1]]:8: error: expected relocatable expression
-.word %gotpcrel(extern - und)
+.word %gotpcrel(extern - und) # expected-error:8 {{expected relocatable 
expression}}
 .endif
diff --git a/llvm/test/MC/RISCV/Relocations/expr-err.s 
b/llvm/test/MC/RISCV/Relocations/expr-err.s
index 481a379321a20..e2b5bd127f99d 100644
--- a/llvm/test/MC/RISCV/Relocations/expr-err.s
+++ b/llvm/test/MC/RISCV/Relocations/expr-err.s
@@ -1,28 +1,18 @@
-# RUN: not llvm-mc -triple riscv32 -filetype obj %s -o /dev/null 2>&1 | 
FileCheck %s
+# RUN: llvm-mc --verify -triple riscv32 -filetype obj %s -o /dev/null
 
 .Ltmp1:
        .quad   tls
 
-lui a0, %hi(tls+0-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:10: error: expected relocatable expression
-lw a0, %lo(tls+0-.Ltmp1)(t0)
-# CHECK: :[[#@LINE-1]]:9: error: expected relocatable expression
-lui a0, %tprel_hi(tls+0-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:10: error: expected relocatable expression
-add a0, a0, tp, %tprel_add(tls+0-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:18: error: expected relocatable expression
-addi a0, a0, %tprel_lo(tls+0-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:15: error: expected relocatable expression
-auipc a0, %tls_ie_pcrel_hi(tls+0-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:12: error: expected relocatable expression
-auipc a0, %tls_gd_pcrel_hi(tls+0-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:12: error: expected relocatable expression
-auipc a0, %pcrel_hi(tls-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:12: error: expected relocatable expression
-auipc a0, %got_pcrel_hi(tls-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:12: error: expected relocatable expression
-addi a0, a0, %pcrel_lo(tls-.Ltmp1)
-# CHECK: :[[#@LINE-1]]:15: error: expected relocatable expression
+lui a0, %hi(tls+0-.Ltmp1) # expected-error:10 {{expected relocatable 
expression}}
+lw a0, %lo(tls+0-.Ltmp1)(t0) # expected-error:9 {{expected relocatable 
expression}}
+lui a0, %tprel_hi(tls+0-.Ltmp1) # expected-error:10 {{expected relocatable 
expression}}
+add a0, a0, tp, %tprel_add(tls+0-.Ltmp1) # expected-error:18 {{expected 
relocatable expression}}
+addi a0, a0, %tprel_lo(tls+0-.Ltmp1) # expected-error:15 {{expected 
relocatable expression}}
+auipc a0, %tls_ie_pcrel_hi(tls+0-.Ltmp1) # expected-error:12 {{expected 
relocatable expression}}
+auipc a0, %tls_gd_pcrel_hi(tls+0-.Ltmp1) # expected-error:12 {{expected 
relocatable expression}}
+auipc a0, %pcrel_hi(tls-.Ltmp1) # expected-error:12 {{expected relocatable 
expression}}
+auipc a0, %got_pcrel_hi(tls-.Ltmp1) # expected-error:12 {{expected relocatable 
expression}}
+addi a0, a0, %pcrel_lo(tls-.Ltmp1) # expected-error:15 {{expected relocatable 
expression}}
 
 #      tail tls+32
 #      tail tls-tls
diff --git a/llvm/test/MC/RISCV/XTHeadBa-invalid.s 
b/llvm/test/MC/RISCV/XTHeadBa-invalid.s
index 11e80d3225043..f6b21db292a72 100644
--- a/llvm/test/MC/RISCV/XTHeadBa-invalid.s
+++ b/llvm/test/MC/RISCV/XTHeadBa-invalid.s
@@ -1,11 +1,11 @@
-# RUN: not llvm-mc -triple riscv32 -mattr=+xtheadba < %s 2>&1 | FileCheck %s
-# RUN: not llvm-mc -triple riscv64 -mattr=+xtheadba < %s 2>&1 | FileCheck %s
+# RUN: llvm-mc --verify -triple riscv32 -mattr=+xtheadba < %s
+# RUN: llvm-mc --verify -triple riscv64 -mattr=+xtheadba < %s
 
 # Too few operands
-th.addsl t0, t1 # CHECK: :[[@LINE]]:16: error: too few operands for instruction
+th.addsl t0, t1 # expected-error:16 {{too few operands for instruction}}
 # Too few operands
-th.addsl t0, t1, t2 # CHECK: :[[@LINE]]:20: error: too few operands for 
instruction
+th.addsl t0, t1, t2 # expected-error:20 {{too few operands for instruction}}
 # Immediate operand out of range
-th.addsl t0, t1, t2, 4 # CHECK: :[[@LINE]]:22: error: immediate must be an 
integer in the range [0, 3]
+th.addsl t0, t1, t2, 4 # expected-error:22 {{immediate must be an integer in 
the range [0, 3]}}
 # Immediate operand out of range
-th.addsl t0, t1, t2, -1 # CHECK: :[[@LINE]]:22: error: immediate must be an 
integer in the range [0, 3]
+th.addsl t0, t1, t2, -1 # expected-error:22 {{immediate must be an integer in 
the range [0, 3]}}
diff --git a/llvm/test/MC/RISCV/XTHeadVdot-valid.s 
b/llvm/test/MC/RISCV/XTHeadVdot-valid.s
index f01c75374f7ef..e8712f2d1de5c 100644
--- a/llvm/test/MC/RISCV/XTHeadVdot-valid.s
+++ b/llvm/test/MC/RISCV/XTHeadVdot-valid.s
@@ -1,77 +1,62 @@
 # RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+xtheadvdot %s \
 # RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
-# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \
-# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR
+# RUN: llvm-mc --verify -triple=riscv64 -show-encoding %s
 # RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+xtheadvdot %s \
 # RUN:        | llvm-objdump -d --mattr=+xtheadvdot - \
 # RUN:        | FileCheck %s --check-prefix=CHECK-INST
 
-th.vmaqau.vv v8, v20, v4, v0.t
+th.vmaqau.vv v8, v20, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqau.vv v8, v20, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x88]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqau.vv v8, v20, v4
+th.vmaqau.vv v8, v20, v4 # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqau.vv v8, v20, v4
 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x8a]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqau.vx v8, a0, v4, v0.t
+th.vmaqau.vx v8, a0, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqau.vx v8, a0, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x8c]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqau.vx v8, a0, v4
+th.vmaqau.vx v8, a0, v4 # expected-error {{instruction requires the following: 
'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqau.vx v8, a0, v4
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x8e]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqa.vv v8, v20, v4, v0.t
+th.vmaqa.vv v8, v20, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqa.vv v8, v20, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x80]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqa.vv v8, v20, v4
+th.vmaqa.vv v8, v20, v4 # expected-error {{instruction requires the following: 
'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqa.vv v8, v20, v4
 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x82]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqa.vx v8, a0, v4, v0.t
+th.vmaqa.vx v8, a0, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqa.vx v8, a0, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x84]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqa.vx v8, a0, v4
+th.vmaqa.vx v8, a0, v4 # expected-error {{instruction requires the following: 
'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqa.vx v8, a0, v4
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x86]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqasu.vv v8, v20, v4, v0.t
+th.vmaqasu.vv v8, v20, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqasu.vv v8, v20, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x90]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqasu.vv v8, v20, v4
+th.vmaqasu.vv v8, v20, v4 # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqasu.vv v8, v20, v4
 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x92]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqasu.vx v8, a0, v4, v0.t
+th.vmaqasu.vx v8, a0, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqasu.vx v8, a0, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x94]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqasu.vx v8, a0, v4
+th.vmaqasu.vx v8, a0, v4 # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqasu.vx v8, a0, v4
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x96]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqaus.vx v8, a0, v4, v0.t
+th.vmaqaus.vx v8, a0, v4, v0.t # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqaus.vx v8, a0, v4, v0.t
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x9c]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
 
-th.vmaqaus.vx v8, a0, v4
+th.vmaqaus.vx v8, a0, v4 # expected-error {{instruction requires the 
following: 'XTHeadVdot' (T-Head Vector Extensions for Dot)}}
 # CHECK-INST: th.vmaqaus.vx v8, a0, v4
 # CHECK-ENCODING: [0x0b,0x64,0x45,0x9e]
-# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector 
Extensions for Dot){{$}}
diff --git a/llvm/test/MC/RISCV/attribute-arch-invalid.s 
b/llvm/test/MC/RISCV/attribute-arch-invalid.s
index 4ed8f6a027894..98ca3bb3b6676 100644
--- a/llvm/test/MC/RISCV/attribute-arch-invalid.s
+++ b/llvm/test/MC/RISCV/attribute-arch-invalid.s
@@ -1,9 +1,8 @@
 ## Invalid arch string
 
-# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
-# RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s
+# RUN: llvm-mc --verify -triple riscv32 < %s
+# RUN: llvm-mc --verify -triple riscv64 < %s
 
 ## Version strings are required for experimental extensions
 
-.attribute arch, "rv32izicfilp"
-# CHECK: error: invalid arch name 'rv32izicfilp', experimental extension 
requires explicit version number `zicfilp`
+.attribute arch, "rv32izicfilp" # expected-error {{invalid arch name 
'rv32izicfilp', experimental extension requires explicit version number 
`zicfilp`}}
diff --git a/llvm/test/MC/RISCV/cfi-regs-invalid.s 
b/llvm/test/MC/RISCV/cfi-regs-invalid.s
index 92943e7f1dc11..bef34983717ba 100644
--- a/llvm/test/MC/RISCV/cfi-regs-invalid.s
+++ b/llvm/test/MC/RISCV/cfi-regs-invalid.s
@@ -1,7 +1,7 @@
-# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
-# RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s
+# RUN: llvm-mc --verify -triple riscv32 < %s
+# RUN: llvm-mc --verify -triple riscv64 < %s
 
 .cfi_startproc
-.cfi_offset x00, 0 # CHECK: :[[@LINE]]:16: error: invalid register name
-.cfi_offset a8, 8 # CHECK: :[[@LINE]]:15: error: invalid register name
+.cfi_offset x00, 0 # expected-error:16 {{invalid register name}}
+.cfi_offset a8, 8 # expected-error:15 {{invalid register name}}
 .cfi_endproc
diff --git a/llvm/test/MC/RISCV/compressed-zicfiss.s 
b/llvm/test/MC/RISCV/compressed-zicfiss.s
index aa5bf2df8d800..44d8060b631e9 100644
--- a/llvm/test/MC/RISCV/compressed-zicfiss.s
+++ b/llvm/test/MC/RISCV/compressed-zicfiss.s
@@ -23,45 +23,36 @@
 # RUN:     | llvm-objdump --mattr=+zcmop,+zimop -M no-aliases -d -r - \
 # RUN:     | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
 #
-# RUN: not llvm-mc -triple riscv32 -M no-aliases -show-encoding < %s 2>&1 \
-# RUN:     | FileCheck -check-prefixes=CHECK-NO-EXT %s
+# RUN: llvm-mc --verify -triple riscv32 -M no-aliases -show-encoding < %s
 
 # CHECK-ASM-AND-OBJ: c.sspopchk t0
 # CHECK-ASM: encoding: [0x81,0x62]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zimop' 
(May-Be-Operations)
-sspopchk x5
+sspopchk x5 # expected-error {{instruction requires the following: 'Zimop' 
(May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspopchk t0
 # CHECK-ASM: encoding: [0x81,0x62]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zimop' 
(May-Be-Operations)
-sspopchk t0
+sspopchk t0 # expected-error {{instruction requires the following: 'Zimop' 
(May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspush ra
 # CHECK-ASM: encoding: [0x81,0x60]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zimop' 
(May-Be-Operations)
-sspush x1
+sspush x1 # expected-error {{instruction requires the following: 'Zimop' 
(May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspush ra
 # CHECK-ASM: encoding: [0x81,0x60]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zimop' 
(May-Be-Operations)
-sspush ra
+sspush ra # expected-error {{instruction requires the following: 'Zimop' 
(May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspush ra
 # CHECK-ASM: encoding: [0x81,0x60]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zcmop' (Compressed 
May-Be-Operations)
-c.sspush x1
+c.sspush x1 # expected-error {{instruction requires the following: 'Zcmop' 
(Compressed May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspush ra
 # CHECK-ASM: encoding: [0x81,0x60]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zcmop' (Compressed 
May-Be-Operations)
-c.sspush ra
+c.sspush ra # expected-error {{instruction requires the following: 'Zcmop' 
(Compressed May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspopchk t0
 # CHECK-ASM: encoding: [0x81,0x62]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zcmop' (Compressed 
May-Be-Operations)
-c.sspopchk x5
+c.sspopchk x5 # expected-error {{instruction requires the following: 'Zcmop' 
(Compressed May-Be-Operations)}}
 
 # CHECK-ASM-AND-OBJ: c.sspopchk t0
 # CHECK-ASM: encoding: [0x81,0x62]
-# CHECK-NO-EXT: error: instruction requires the following: 'Zcmop' (Compressed 
May-Be-Operations)
-c.sspopchk t0
+c.sspopchk t0 # expected-error {{instruction requires the following: 'Zcmop' 
(Compressed May-Be-Operations)}}
diff --git a/llvm/test/MC/RISCV/corev/XCValu-invalid.s 
b/llvm/test/MC/RISCV/corev/XCValu-invalid.s
index 1caf5b5756ff2..e13eed746162b 100644
--- a/llvm/test/MC/RISCV/corev/XCValu-invalid.s
+++ b/llvm/test/MC/RISCV/corev/XCValu-invalid.s
@@ -1,536 +1,357 @@
-# RUN: not llvm-mc -triple=riscv32 --mattr=+xcvalu %s 2>&1 \
-# RUN:        | FileCheck %s --check-prefixes=CHECK-ERROR
+# RUN: llvm-mc --verify -triple=riscv32 --mattr=+xcvalu %s
 
-cv.addrnr t0, t1, 0
-# CHECK-ERROR: register must be a GPR
+cv.addrnr t0, t1, 0 # expected-error {{register must be a GPR}}
 
-cv.addrnr t0, 0, t2
-# CHECK-ERROR: register must be a GPR
+cv.addrnr t0, 0, t2 # expected-error {{register must be a GPR}}
 
-cv.addrnr 0, t1, t2
-# CHECK-ERROR: register must be a GPR
+cv.addrnr 0, t1, t2 # expected-error {{register must be a GPR}}
 
-cv.addrnr t0, t1
-# CHECK-ERROR: too few operands for instruction
+cv.addrnr t0, t1 # expected-error {{too few operands for instruction}}
 
-cv.addrnr t0, t1, t2, a0
-# CHECK-ERROR: unexpected extra operand for instruction
+cv.addrnr t0, t1, t2, a0 # expected-error {{unexpected extra operand for 
instruction}}
 
-cv.addun t0, t1, t2, -1
-# CHECK-ERROR: immediate must be an integer in the range [0, 31]
+cv.addun t0, t1, t2, -1 # expected-error {{immediate must be an integer in the 
range [0, 31]}}
 
-cv.addun t0, t1, t2, 32
-# CHECK-ERROR: immediate must be an integer in the range [0, 31]
+cv.addun t0, t1, t2, 32 # expected-error {{immediate must be an integer in the 
range [0, 31]}}
 
-cv.addun t0, t1, t2, a0
-# CHECK-ERROR: immediate must be an integer in the range [0, 31]
+cv.addun t0, t1, t2, a0 # expected-error {{immediate must be an integer in the 
range [0, 31]}}
 
-cv.addun t0, t1, 0, 0
-# CHECK-ERROR: register must be a GPR
+cv.addun t0, t1, 0, 0 # expected-error {{register must be a GPR}}
 
-cv.addun t0, 0, t2, 0
-# CHECK-ERROR: register must be a GPR
+cv.addun t0, 0, t2, 0 # expected-error {{register must be a GPR}}
 
-cv.addun 0, t1, t2, 0
-# CHECK-ERROR: register must be a GPR
+cv.addun 0, t1, t2, 0 # expected-error {{register must be a GPR}}
 
-cv.addun t0, t1, t2
-# CHECK-ERROR: too few operands for instruction
+cv.addun t0, t1, t2 # expected-error {{too few operands for instruction}}
 
-cv.addun t0, t1, t2, 0, a0
-# CHECK-ERROR: unexpected extra operand for instruction
+cv.addun t0, t1, t2, 0, a0 # expected-error {{unexpected extra operand for 
instruction}}
 
-cv.extbz t0, 0
-# CHECK-ERROR: register must be a GPR
+cv.extbz t0, 0 # expected-error {{register must be a GPR}}
 
-cv.extbz 0, t1
-# CHECK-ERROR: register must be a GPR
+cv.extbz 0, t1 # expected-error {{register must be a GPR}}
 
-cv.extbz t0
-# CHECK-ERROR: too few operands for instruction
+cv.extbz t0 # expected-error {{too few operands for instruction}}
 
-cv.extbz t0, t1, t2
-# CHECK-ERROR: unexpected extra operand for instruction
+cv.extbz t0, t1, t2 # expected-error {{unexpected extra operand for 
instruction}}
 
-cv.addnr t0, t1, 0
-# CHECK-ERROR: register must be a GPR
+cv.addnr t0, t1, 0 # expected-error {{register must be a GPR}}
 
-cv.addnr t0, 0, t2
-# CHECK-ERROR: register must be a GPR
+cv.addnr t0, 0, t2 # expected-error {{register must be a GPR}}
 
-cv.addnr 0, t1, t2
-# CHECK-ERROR: register must be a GPR
+cv.addnr 0, t1, t2 # expected-error {{register must be a GPR}}
 
-cv.addnr t0, t1
-# CHECK-ERROR: too few operands for instruction
+cv.addnr t0, t1 # expected-error {{too few operands for instruction}}
 
-cv.addnr t0, t1, t2, a0
-# CHECK-ERROR: unexpected extra operand for instruction
+cv.addnr t0, t1, t2, a0 # expected-error {{unexpected extra operand for 
instruction}}
 
-cv.clipu t0, t1, -1
-# CHECK-ERROR: immediate must be an integer in the range [0, 31]
+cv.clipu t0, t1, -1 # expected-error {{immediate must be an integer in the 
range [0, 31]}}
 
-cv.clipu t0, t1, 32
-# CHECK-ERROR: immediate must be an integer in the range [0, 31]
+cv.clipu t0, t1, 32 # expected-error {{immediate must be an integer in the 
range [0, 31]}}
 
-cv.clipu t0, t1, a0
-# CHECK-ERROR: immediate must be an integer in the range [0, 31]
+cv.clipu t0, t1, a0 # expected-error {{immediate must be an integer in the 
range [0, 31]}}
 
-cv.clipu t0, 0, 0
-# CHECK-ERROR: register must be a GPR
+cv.clipu t0, 0, 0 # expected-error {{register must be a GPR}}
 
-cv.clipu 0, t1, 0
-# CHECK-ERROR: register must be a GPR
+cv.clipu 0, t1, 0 # expected-error {{register must be a GPR}}
 
-cv.clipu t0, t1
-# CHECK-ERROR: too few operands for instruction
+cv.clipu t0, t1 # expected-error {{too few operands for instruction}}
 
-c...
[truncated]

``````````

</details>


https://github.com/llvm/llvm-project/pull/227571
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to