diff --git a/llvm/test/MC/RISCV/rvv/invalid.s b/llvm/test/MC/RISCV/rvv/invalid.s --- a/llvm/test/MC/RISCV/rvv/invalid.s +++ b/llvm/test/MC/RISCV/rvv/invalid.s @@ -666,3 +666,9 @@ vmsgeu.vx v2, v4, a0, v0.t, v0 # CHECK-ERROR: invalid operand for instruction + +vmsge.vx v2, v4, a0, v0.t, v2 +# CHECK-ERROR: The temporary vector register cannot be the same as the destination register. + +vmsgeu.vx v2, v4, a0, v0.t, v2 +# CHECK-ERROR: The temporary vector register cannot be the same as the destination register.