[llvm] [VectorCombine] Fix duplicate freeze scheduling for shared indexes (PR #213461)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 2 01:28:34 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 179814 tests passed
* 3612 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Transforms/VectorCombine/X86/pr213423.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/VectorCombine/X86/pr213423.ll -passes=vector-combine -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/VectorCombine/X86/pr213423.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=vector-combine -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/VectorCombine/X86/pr213423.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/VectorCombine/X86/pr213423.ll:13:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[V:%.*]] = load <2 x i16>, ptr null, align 4
# | ^
# | <stdin>:7:7: note: scanning from here
# | entry:
# | ^
# | <stdin>:7:7: note: pattern attempts to capture variables: "V"
# | entry:
# | ^
# | <stdin>:11:2: note: possible intended match here
# | %e1 = load i16, ptr %0, align 2
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/VectorCombine/X86/pr213423.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '<stdin>'
# | 2: source_filename = "<stdin>"
# | 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | 4: target triple = "x86_64-unknown-linux-gnu"
# | 5:
# | 6: define i1 @test_shared_index(i32 %base) {
# | 7: entry:
# | next:13'0 { search range start (exclusive)
# | next:13'1 error: no match found in search range
# | next:13'2 pattern attempts to capture variables: "V"
# | 8: %base.frozen = freeze i32 %base
# | 9: %idx = and i32 %base.frozen, 0
# | 10: %0 = getelementptr inbounds <2 x i16>, ptr null, i32 0, i32 %idx
# | 11: %e1 = load i16, ptr %0, align 2
# | next:13'3 ? possible intended match
# | 12: %1 = getelementptr inbounds <2 x i16>, ptr null, i32 0, i32 %idx
# | 13: %e2 = load i16, ptr %1, align 2
# | 14: %cmp = icmp ule i16 %e1, %e2
# | 15: ret i1 %cmp
# | 16: }
# | next:13'4 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/213461
More information about the llvm-commits
mailing list