[clang] [RISCV] Convert all floating point vector type operands to integer vector type (PR #69559)
Brandon Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 19 22:25:42 PDT 2023
================
@@ -450,6 +474,18 @@ multiclass VPatVC_XVV<string intrinsic_suffix, string instruction_suffix,
"PseudoVC_V_" # instruction_suffix # "_" # vti.LMul.MX,
wti.Vector, wti.Vector, vti.Vector, type, vti.Log2SEW,
wti.RegClass, vti.RegClass, kind, op1_kind>;
+ // Add another patterns for float type return value.
+ if !ne(wti.SEW, 8) then {
+ defvar wfti = !cast<VTypeInfo>("VF"#wti.SEW#wti.LMul.MX);
----------------
4vtomat wrote:
Do you think test cases all of combination of vector type arguments(including float and int) are needed?
Or just provide test cases for some mix type arguments are enough.
https://github.com/llvm/llvm-project/pull/69559
More information about the cfe-commits
mailing list