[llvm] d77e339 - [NFC][LLVM] Make test resilent to value of use-constant-*-splat flags.

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 09:54:58 PDT 2025


Author: Paul Walker
Date: 2025-08-01T16:54:48Z
New Revision: d77e339e7ba3af21e92ad7f7d17fc8ad1d5dd5b4

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

LOG: [NFC][LLVM] Make test resilent to value of use-constant-*-splat flags.

Ensure Transforms/Reassociate/fast-ReassociateVector.ll passes when
UseConstantIntForFixedLengthSplat defaults to true.

Added: 
    

Modified: 
    llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll b/llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll
index d313164b8187a..1a18526c3b6df 100644
--- a/llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll
+++ b/llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -passes=reassociate -S | FileCheck %s --check-prefixes=CHECK,CHECK-CV
+; RUN: opt < %s -passes=reassociate -S -use-constant-int-for-fixed-length-splat=false | FileCheck %s --check-prefixes=CHECK,CHECK-CV
 ; RUN: opt < %s -passes=reassociate -S -use-constant-int-for-fixed-length-splat | FileCheck %s --check-prefixes=CHECK,CHECK-CI
 
 ; Check that a*c+b*c is turned into (a+b)*c


        


More information about the llvm-commits mailing list