[Mlir-commits] [flang] [mlir] [mlir][Transforms] Add support for `ConversionPatternRewriter::replaceAllUsesWith` (PR #155244)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Sep 6 02:35:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `flang,mlir` at step 7 "Add check check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/30231
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (Add check check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/OpenMP/loop-directive.f90' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang -fc1 -emit-hlfir -fopenmp -J /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fopenmp-version=50 -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/loop-directive.f90 2>&1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/loop-directive.f90
# executed command: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang -fc1 -emit-hlfir -fopenmp -J /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fopenmp-version=50 -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/loop-directive.f90
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/loop-directive.f90
# .---command stderr------------
# | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/loop-directive.f90:11:16: error: CHECK-LABEL: expected string not found in input
# | ! CHECK-LABEL: func.func @_QPtest_no_clauses
# | ^
# | <stdin>:1:1: note: scanning from here
# | warning: OpenMP support for version 50 in flang is still incomplete
# | ^
# | <stdin>:15:211: note: possible intended match here
# | #11 0x000000000ac26ead mlir::PatternApplicator::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&, llvm::function_ref<bool (mlir::Pattern const&)>, llvm::function_ref<void (mlir::Pattern const&)>, llvm::function_ref<llvm::LogicalResult (mlir::Pattern const&)>) (/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang+0xac26ead)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/loop-directive.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: warning: OpenMP support for version 50 in flang is still incomplete
# | label:11'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: flang: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/include/mlir/IR/UseDefLists.h:198: mlir::IRObjectWithUseList<OperandType>::~IRObjectWithUseList() [with OperandType = mlir::OpOperand]: Assertion `use_empty() && "Cannot destroy a value that still has uses!"' failed.
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: #0 0x0000000006dc71c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang+0x6dc71c8)
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: #1 0x0000000006dc3c94 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: #2 0x00007f9ddbabe910 __restore_rt (/lib64/libpthread.so.0+0x16910)
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 10: #6 0x00007f9ddb3e4cf2 (/lib64/libc.so.6+0x42cf2)
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: #7 0x000000000ca8cd8e (/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang+0xca8cd8e)
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: #8 0x0000000008223510 (anonymous namespace)::GenericLoopConversionPattern::matchAndRewrite(mlir::omp::LoopOp, mlir::omp::LoopOpAdaptor, mlir::ConversionPatternRewriter&) const GenericLoopConversion.cpp:0:0
# | label:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/155244
More information about the Mlir-commits
mailing list