[Mlir-commits] [mlir] [MLIR][Analysis] Fix incorrect RegionBranchOpInterface API usage in SliceWalk (PR #188758)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Aug 14 13:05:31 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 8752 tests passed
* 646 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Analysis/test-control-flow-predecessors.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --mlir-disable-threading -pass-pipeline="builtin.module(any(test-control-flow-predecessors))" /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --mlir-disable-threading '-pass-pipeline=builtin.module(any(test-control-flow-predecessors))' /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir:30:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: Control flow predecessors for '"test_loop_with_extra_result"'
# | ^
# | <stdin>:1:60: note: scanning from here
# | Control flow predecessors for '"test_scf_for_no_iter_args"':
# | ^
# | <stdin>:5:163: note: possible intended match here
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --mlir-disable-threading -pass-pipeline=builtin.module(any(test-control-flow-predecessors)) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Control flow predecessors for '"test_scf_for_no_iter_args"':
# | label:30'0 { search range start (exclusive)
# | label:30'1 error: no match found in search range
# | 2: mlir-opt: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1249: ReferenceT llvm::detail::indexed_accessor_range_base<mlir::OperandRange, mlir::OpOperand *, mlir::Value, mlir::Value, mlir::Value>::operator[](size_t) const [DerivedT = mlir::OperandRange, BaseT = mlir::OpOperand *, T = mlir::Value, PointerT = mlir::Value, ReferenceT = mlir::Value]: Assertion `Index < size() && "invalid index for value range"' failed.
# | 3: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | 4: Stack dump:
# | 5: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --mlir-disable-threading -pass-pipeline=builtin.module(any(test-control-flow-predecessors)) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Analysis/test-control-flow-predecessors.mlir
# | label:30'2 ? possible intended match
# | 6: #0 0x00000000082e374b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | 7: #1 0x00000000082e0501 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | 8: #2 0x00000000082e456b SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | 9: #3 0x00007abc59713330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | 10: #4 0x00007abc5976cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | .
# | .
# | .
# | 58: #52 0x00000000082e982a mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:835:14
# | 59: #53 0x00000000082e9a9b mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:851:10
# | 60: #54 0x000000000822726d main /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/tools/mlir-opt/mlir-opt.cpp:345:33
# | 61: #55 0x00007abc596f81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | 62: #56 0x00007abc596f828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | 63: #57 0x0000000008226da5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt+0x8226da5)
# | label:30'3 } 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/188758
More information about the Mlir-commits
mailing list