[Mlir-commits] [mlir] [nfc][acc] Make two loop utilities non-static and add tests (PR #220417)

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Sep 1 17:50:41 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `mlir` at step 5 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/2067

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/mlgo-emitc.sh --jobs=64' (failure)
...
PASS: LLVM :: CodeGen/Hexagon/hvx-byte-store.ll (26798 of 67297)
PASS: LLVM :: CodeGen/X86/fold-tied-op.ll (26799 of 67297)
PASS: LLVM :: Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-load.ll (26800 of 67297)
PASS: LLVM :: CodeGen/SPIRV/opencl/refract-error.ll (26801 of 67297)
PASS: LLVM :: CodeGen/NVPTX/atomics-sm60.ll (26802 of 67297)
PASS: LLVM :: CodeGen/SPIRV/extensions/SPV_KHR_abort/abort-conditional.ll (26803 of 67297)
PASS: LLVM :: CodeGen/LoongArch/lsx/intrinsic-permi.ll (26804 of 67297)
PASS: LLVM :: MC/X86/AVX512F_SCALAR-32.s (26805 of 67297)
PASS: LLVM :: CodeGen/SPIRV/transcoding/builtin_vars.ll (26806 of 67297)
PASS: LLVM :: MC/RISCV/rvf-valid.s (26807 of 67297)
FAIL: LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll (26808 of 67297)
******************** TEST 'LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
/b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# RUN: at line 7
/b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp | /b/build/llvm-project/build-mlgo/bin/llvm-dis | /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-dis
# executed command: /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# .---command stderr------------
# | /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll:13:7: error: M0: expected string not found in input
# | ; M0: @f.{{[0-9a-f]+}} = hidden alias ptr, ptr @f
# |       ^
# | <stdin>:9:78: note: scanning from here
# | @vtable.61b17fea1cac8585b7466274677b349b = external hidden constant [1 x ptr], !guid !0
# |                                                                              ^
# | <stdin>:22:12: note: possible intended match here
# | !1 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "/b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll" 
# |             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: module asm 
# |             7:  ".lto_set_conditional f,f.61b17fea1cac8585b7466274677b349b" 
Step 8 (Run tests) failure: Run tests (failure)
...
PASS: LLVM :: CodeGen/Hexagon/hvx-byte-store.ll (26798 of 67297)
PASS: LLVM :: CodeGen/X86/fold-tied-op.ll (26799 of 67297)
PASS: LLVM :: Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-load.ll (26800 of 67297)
PASS: LLVM :: CodeGen/SPIRV/opencl/refract-error.ll (26801 of 67297)
PASS: LLVM :: CodeGen/NVPTX/atomics-sm60.ll (26802 of 67297)
PASS: LLVM :: CodeGen/SPIRV/extensions/SPV_KHR_abort/abort-conditional.ll (26803 of 67297)
PASS: LLVM :: CodeGen/LoongArch/lsx/intrinsic-permi.ll (26804 of 67297)
PASS: LLVM :: MC/X86/AVX512F_SCALAR-32.s (26805 of 67297)
PASS: LLVM :: CodeGen/SPIRV/transcoding/builtin_vars.ll (26806 of 67297)
PASS: LLVM :: MC/RISCV/rvf-valid.s (26807 of 67297)
FAIL: LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll (26808 of 67297)
******************** TEST 'LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
/b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# RUN: at line 7
/b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp | /b/build/llvm-project/build-mlgo/bin/llvm-dis | /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-dis
# executed command: /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# .---command stderr------------
# | /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll:13:7: error: M0: expected string not found in input
# | ; M0: @f.{{[0-9a-f]+}} = hidden alias ptr, ptr @f
# |       ^
# | <stdin>:9:78: note: scanning from here
# | @vtable.61b17fea1cac8585b7466274677b349b = external hidden constant [1 x ptr], !guid !0
# |                                                                              ^
# | <stdin>:22:12: note: possible intended match here
# | !1 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "/b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll" 
# |             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: module asm 
# |             7:  ".lto_set_conditional f,f.61b17fea1cac8585b7466274677b349b" 

```

</details>

https://github.com/llvm/llvm-project/pull/220417


More information about the Mlir-commits mailing list