[PATCH] D157295: [RISCV] Lower vro{l,r} for fixed vectors

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 09:55:23 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:5021
   case ISD::ROTR:
+    if (Subtarget.hasStdExtZvbb())
+      return lowerToScalableOp(Op, DAG);
----------------
Don't we need to check for vector type here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157295



More information about the llvm-commits mailing list