[PATCH] D122369: [RISCV] Add VL patterns for vfwmul/vfwadd/vfwsub

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 20:54:28 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfwsub.ll:7
+
+define <2 x float> @vfwadd_v2f16(<2 x half> *%x, <2 x half> *%y) {
+; CHECK-LABEL: vfwadd_v2f16:
----------------
Fix the test names to say "sub" instead of "add"


================
Comment at: llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfwsub.ll:403
+; CHECK-NEXT:    vsetvli zero, zero, e32, mf2, ta, mu
+; CHECK-NEXT:    vfsub.vv v8, v10, v9
+; CHECK-NEXT:    ret
----------------
This doesn't generate vfwsub.wv


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122369/new/

https://reviews.llvm.org/D122369



More information about the llvm-commits mailing list