Skip to content

Commit d77e339

Browse files
[NFC][LLVM] Make test resilent to value of use-constant-*-splat flags.
Ensure Transforms/Reassociate/fast-ReassociateVector.ll passes when UseConstantIntForFixedLengthSplat defaults to true.
1 parent d28bb1f commit d77e339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2-
; RUN: opt < %s -passes=reassociate -S | FileCheck %s --check-prefixes=CHECK,CHECK-CV
2+
; RUN: opt < %s -passes=reassociate -S -use-constant-int-for-fixed-length-splat=false | FileCheck %s --check-prefixes=CHECK,CHECK-CV
33
; RUN: opt < %s -passes=reassociate -S -use-constant-int-for-fixed-length-splat | FileCheck %s --check-prefixes=CHECK,CHECK-CI
44

55
; Check that a*c+b*c is turned into (a+b)*c

0 commit comments

Comments
 (0)