[llvm] 723de7f - [LV][RISCV] Try fixing Windows buildbot failure in force-vect-msg.ll. NFC

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 9 06:09:48 PDT 2025


Author: Luke Lau
Date: 2025-08-09T21:09:36+08:00
New Revision: 723de7f23196393d2323e62d50bedba4492139ef

URL: https://github.com/llvm/llvm-project/commit/723de7f23196393d2323e62d50bedba4492139ef
DIFF: https://github.com/llvm/llvm-project/commit/723de7f23196393d2323e62d50bedba4492139ef.diff

LOG: [LV][RISCV] Try fixing Windows buildbot failure in force-vect-msg.ll. NFC

The clang-x64-windows-msvc buildbot is failing after
707447159341f7b5678dee4f47731af50524b9ae due to this test failing:
https://lab.llvm.org/buildbot/#/builders/63/builds/8528

This is a stab in the dark, but my first thought is that it may be due
to the handling of floats with MSVC or something. So this removes the
floating point part of the check. I don't have access to a Windows
machine handy to debug this just yet, so pushing this to see if it can
quickly return the buildbot to green.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/RISCV/force-vect-msg.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/RISCV/force-vect-msg.ll b/llvm/test/Transforms/LoopVectorize/RISCV/force-vect-msg.ll
index ae18c636a7e59..7819ae27d7238 100644
--- a/llvm/test/Transforms/LoopVectorize/RISCV/force-vect-msg.ll
+++ b/llvm/test/Transforms/LoopVectorize/RISCV/force-vect-msg.ll
@@ -4,7 +4,7 @@
 ; CHECK: LV: Loop hints: force=enabled
 ; CHECK: LV: Scalar loop costs: 4.
 ; ChosenFactor.Cost is 9, but the real cost will be divided by the width, which is 2.2.
-; CHECK: Cost for VF vscale x 2: 9 (Estimated cost per lane: 2.2)
+; CHECK: Cost for VF vscale x 2: 9
 ; Regardless of force vectorization or not, this loop will eventually be vectorized because of the cost model.
 ; Therefore, the following message does not need to be printed even if vectorization is explicitly forced in the metadata.
 ; CHECK-NOT: LV: Vectorization seems to be not beneficial, but was forced by a user.


        


More information about the llvm-commits mailing list