[PATCH] D139706: [RISCV][VP] expand vp intrinscs if no +v feature

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 15:06:50 PST 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h:245
     using VPLegalization = TargetTransformInfo::VPLegalization;
+    if (!ST->hasStdExtV())
+      return VPLegalization(VPLegalization::Discard, VPLegalization::Convert);
----------------
craig.topper wrote:
> What if the target has Zve*?
This should be hasInstructionsV


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139706



More information about the llvm-commits mailing list