[llvm] [LV][VPlan] Reduce register usage of VPEVLBasedIVPHIRecipe. (PR #154482)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 01:09:22 PDT 2025
================
@@ -0,0 +1,37 @@
+; REQUIRES: asserts
+; RUN: opt -passes=loop-vectorize -mtriple riscv64 -mattr=+v -vectorizer-maximize-bandwidth -debug-only=loop-vectorize,vplan -disable-output -S < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-REGS-VP
+; RUN: opt -passes=loop-vectorize -mtriple riscv64 -mattr=+v -vectorizer-maximize-bandwidth -debug-only=loop-vectorize -disable-output -force-target-num-vector-regs=1 -S < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-NOREGS-VP
+define i32 @dotp(ptr %a, ptr %b) {
----------------
lukel97 wrote:
Nit, should probably have an extra newline
```suggestion
define i32 @dotp(ptr %a, ptr %b) {
```
https://github.com/llvm/llvm-project/pull/154482
More information about the llvm-commits
mailing list