[llvm] [NFC][RISCV] Unify all zvfbfa vl patterns and sd node patterns (PR #171072)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 11:24:11 PST 2025
================
@@ -2581,6 +2690,20 @@ foreach fvtiToFWti = AllWidenableFloatVectors in {
(fvti.Vector (IMPLICIT_DEF)), fwti.RegClass:$rs1,
(fwti.Mask VMV0:$vm), GPR:$vl, fvti.Log2SEW, TA_MA)>;
}
+
+ // Define vfncvt.f.f.w for bf16 when Zvfbfa is enabled.
+ if !eq(fvti.Scalar, bf16) then
+ let Predicates = [HasStdExtZvfbfa] in
----------------
topperc wrote:
Should this be `HasVInstructionsBF16` for consistency with `GetVTypePredicates`
https://github.com/llvm/llvm-project/pull/171072
More information about the llvm-commits
mailing list