[llvm-branch-commits] [llvm] release/22.x: [LoopVectorize] Fix nondeterminism in loop-vectorize (#200833) (PR #203850)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 15 02:33:11 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 168073 tests passed
* 2993 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt --passes=loop-vectorize /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt --passes=loop-vectorize /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll -S
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll:26:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[TMP6:%.*]] = add i64 [[INDEX]], 1
# | ^
# | <stdin>:25:2: note: 'next' match was here
# | %5 = add i64 %index, 1
# | ^
# | <stdin>:23:67: note: previous match ended here
# | %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
# | ^
# | <stdin>:24:1: note: non-matching line after previous match is here
# | %4 = add i64 %index, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/X86/nondetermisitic-widening-cost.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 20: br label %vector.body
# | 21:
# | 22: vector.body: ; preds = %vector.body, %vector.ph
# | 23: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
# | 24: %4 = add i64 %index, 0
# | 25: %5 = add i64 %index, 1
# | next:26 !~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 26: %6 = add i64 %index, 2
# | 27: %7 = add i64 %index, 3
# | 28: %8 = add i64 %index, 4
# | 29: %9 = add i64 %index, 5
# | 30: %10 = add i64 %index, 6
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/203850
More information about the llvm-branch-commits
mailing list