[llvm] [RISCV][LoopIdiomVectorize] Support VP intrinsics in LoopIdiomVectorize (PR #94082)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 15:11:57 PDT 2024


================
@@ -397,6 +397,8 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
   bool shouldFoldTerminatingConditionAfterLSR() const {
     return true;
   }
+
+  std::optional<unsigned> getMinPageSize() const { return 4096; }
----------------
mshockwave wrote:

Note: LoopIdiomVectorize is the only user of this TTI hook.

https://github.com/llvm/llvm-project/pull/94082


More information about the llvm-commits mailing list