[llvm] [LoopVectorize][NFC] Fix formatting issue with a comment (PR #129033)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 02:20:07 PST 2025
https://github.com/david-arm created https://github.com/llvm/llvm-project/pull/129033
None
>From b406f9c934c4ab80b31c5beca008a98fc5e14d7b Mon Sep 17 00:00:00 2001
From: David Sherwood <david.sherwood at arm.com>
Date: Thu, 27 Feb 2025 10:19:08 +0000
Subject: [PATCH] [LoopVectorize][NFC] Fix formatting issue with a comment
---
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 0bf2d71a63ef4..0d774bac2acce 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -10186,7 +10186,8 @@ static bool areRuntimeChecksProfitable(GeneratedRTChecks &Checks,
return true;
}
- // The scalar cost should only be 0 when vectorizing with a user specified VF/IC. In those cases, runtime checks should always be generated.
+ // The scalar cost should only be 0 when vectorizing with a user specified
+ // VF/IC. In those cases, runtime checks should always be generated.
uint64_t ScalarC = *VF.ScalarCost.getValue();
if (ScalarC == 0)
return true;
More information about the llvm-commits
mailing list