[PATCH] D99509: [RISCV] Add legality check for vectoring redunction

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 11:05:55 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h:133
+    if (!VF.isScalable())
+      return true;
+
----------------
This is returning true for not scalable. Is that saying that any fixed length reduction is supported?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99509



More information about the llvm-commits mailing list