[PATCH] D108288: [LegalizeTypes][VP] Add promotion support for binary VP ops

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 7 10:57:37 PDT 2021


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/test/CodeGen/RISCV/rvv/vdiv-vp.ll:15
+; CHECK-NEXT:    vsra.vi v25, v25, 1
+; CHECK-NEXT:    vmv.v.x v26, a0
+; CHECK-NEXT:    vadd.vv v26, v26, v26
----------------
We should use slli a0, a0, 1 followed by vmv.v.x here. Not something that needs to be fixed in this patch though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108288



More information about the llvm-commits mailing list