The vsetvl asm check is unnecessary for the vector convert. We
should be focus for constrait and leave the vsetvl test to the
vsetvl pass.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/unop/cvt-0.c: Remove the vsetvl
asm check from func body.
* gcc.target/riscv/rvv/autovec/unop/cvt-1.c: Ditto.
Signed-off-by: Pan Li <pan2.li@intel.com>
/*
** test_int65_to_fp16:
** ...
-** vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*mf2,\s*ta,\s*ma
** vfncvt\.f\.x\.w\s+v[0-9]+,\s*v[0-9]+
-** vsetvli\s+zero,\s*zero,\s*e16,\s*mf4,\s*ta,\s*ma
+** ...
** vfncvt\.f\.f\.w\s+v[0-9]+,\s*v[0-9]+
** ...
*/
/*
** test_uint65_to_fp16:
** ...
-** vsetvli\s+[atx][0-9]+,\s*zero,\s*e32,\s*mf2,\s*ta,\s*ma
** vfncvt\.f\.xu\.w\s+v[0-9]+,\s*v[0-9]+
-** vsetvli\s+zero,\s*zero,\s*e16,\s*mf4,\s*ta,\s*ma
+** ...
** vfncvt\.f\.f\.w\s+v[0-9]+,\s*v[0-9]+
** ...
*/