[clang] [RISCV] Convert all floating point vector type operands to integer vector type (PR #69559)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 19 20:43:58 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);
----------------
topperc wrote:
Do we need new tests for this?
https://github.com/llvm/llvm-project/pull/69559
More information about the cfe-commits
mailing list