[llvm] [LVI] Merge ranges stably and precisely (PR #173714)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 27 03:07:38 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 167491 tests passed
* 2974 tests skipped
* 5 tests failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.functionalities/asan/TestMemoryHistory.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan -p TestMemoryHistory.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 22.0.0git (https://github.com/llvm/llvm-project revision 00b98ef964cb3154904c0a3f0bcfbd2c09626bd4)
  clang revision 00b98ef964cb3154904c0a3f0bcfbd2c09626bd4
  llvm revision 00b98ef964cb3154904c0a3f0bcfbd2c09626bd4
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_compiler_rt_asan_dsym (TestMemoryHistory.MemoryHistoryTestCase.test_compiler_rt_asan_dsym) (test case does not fall in any category of interest for this run) 
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_compiler_rt_asan_dwarf (TestMemoryHistory.MemoryHistoryTestCase.test_compiler_rt_asan_dwarf)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_compiler_rt_asan_dwo (TestMemoryHistory.MemoryHistoryTestCase.test_compiler_rt_asan_dwo)
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_asan_dsym (TestMemoryHistory.MemoryHistoryTestCase.test_libsanitizers_asan_dsym) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_asan_dwarf (TestMemoryHistory.MemoryHistoryTestCase.test_libsanitizers_asan_dwarf) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_asan_dwo (TestMemoryHistory.MemoryHistoryTestCase.test_libsanitizers_asan_dwo) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_traces_dsym (TestMemoryHistory.MemoryHistoryTestCase.test_libsanitizers_traces_dsym) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_traces_dwarf (TestMemoryHistory.MemoryHistoryTestCase.test_libsanitizers_traces_dwarf) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_traces_dwo (TestMemoryHistory.MemoryHistoryTestCase.test_libsanitizers_traces_dwo) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator) 
======================================================================
FAIL: test_compiler_rt_asan_dwarf (TestMemoryHistory.MemoryHistoryTestCase.test_compiler_rt_asan_dwarf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1833, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestMemoryHistory.py", line 19, in test_compiler_rt_asan
    self.compiler_rt_asan_tests()
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestMemoryHistory.py", line 159, in compiler_rt_asan_tests
    self.expect(
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2558, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"thread list"

Got output:
Process 1586349 stopped
* thread #1: tid = 1586349, 0x00005d1f9aa9f0a6 a.out`MaxCachedHint at sanitizer_allocator_size_class_map.h:179:38, name = 'a.out', stop reason = signal SIGFPE: integer divide by zero

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was not found)
Process should be stopped due to breakpoint
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
======================================================================
FAIL: test_compiler_rt_asan_dwo (TestMemoryHistory.MemoryHistoryTestCase.test_compiler_rt_asan_dwo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1833, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestMemoryHistory.py", line 19, in test_compiler_rt_asan
    self.compiler_rt_asan_tests()
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestMemoryHistory.py", line 159, in compiler_rt_asan_tests
    self.expect(
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2558, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"thread list"

Got output:
Process 1587122 stopped
* thread #1: tid = 1587122, 0x00005624aff130a6 a.out`MaxCachedHint at sanitizer_allocator_size_class_map.h:179:38, name = 'a.out', stop reason = signal SIGFPE: integer divide by zero

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was not found)
Process should be stopped due to breakpoint
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 9 tests in 1.312s

FAILED (failures=2, skipped=7)

--

```
</details>
<details>
<summary>lldb-api.functionalities/asan/TestReportData.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan -p TestReportData.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 22.0.0git (https://github.com/llvm/llvm-project revision 00b98ef964cb3154904c0a3f0bcfbd2c09626bd4)
  clang revision 00b98ef964cb3154904c0a3f0bcfbd2c09626bd4
  llvm revision 00b98ef964cb3154904c0a3f0bcfbd2c09626bd4
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dsym (TestReportData.AsanTestReportDataCase.test_dsym) (test case does not fall in any category of interest for this run) 
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dwarf (TestReportData.AsanTestReportDataCase.test_dwarf)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dwo (TestReportData.AsanTestReportDataCase.test_dwo)
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_asan_dsym (TestReportData.AsanTestReportDataCase.test_libsanitizers_asan_dsym) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_asan_dwarf (TestReportData.AsanTestReportDataCase.test_libsanitizers_asan_dwarf) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator) 
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_libsanitizers_asan_dwo (TestReportData.AsanTestReportDataCase.test_libsanitizers_asan_dwo) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator) 
======================================================================
FAIL: test_dwarf (TestReportData.AsanTestReportDataCase.test_dwarf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1833, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestReportData.py", line 20, in test
    self.asan_tests()
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestReportData.py", line 59, in asan_tests
    self.expect(
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2558, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"thread list"

Got output:
Process 1587903 stopped
* thread #1: tid = 1587903, 0x000057561e39d0a6 a.out`MaxCachedHint at sanitizer_allocator_size_class_map.h:179:38, name = 'a.out', stop reason = signal SIGFPE: integer divide by zero

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = Use of deallocated memory" (was not found)
Process should be stopped due to ASan report
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
======================================================================
FAIL: test_dwo (TestReportData.AsanTestReportDataCase.test_dwo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1833, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestReportData.py", line 20, in test
    self.asan_tests()
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/asan/TestReportData.py", line 59, in asan_tests
    self.expect(
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2558, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"thread list"

Got output:
Process 1588839 stopped
* thread #1: tid = 1588839, 0x00005cb40ce170a6 a.out`MaxCachedHint at sanitizer_allocator_size_class_map.h:179:38, name = 'a.out', stop reason = signal SIGFPE: integer divide by zero

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = Use of deallocated memory" (was not found)
Process should be stopped due to ASan report
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 6 tests in 1.352s

FAILED (failures=2, skipped=4)

--

```
</details>

### LLVM
<details>
<summary>LLVM.Transforms/CorrelatedValuePropagation/vectors.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=correlated-propagation < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=correlated-propagation
# 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/CorrelatedValuePropagation/vectors.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll:280:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define range(i16 2, 259) <2 x i16> @phi_merge1(
# |                ^
# | <stdin>:138:46: note: scanning from here
# | define <4 x i64> @issue_97674_getConstant() {
# |                                              ^
# | <stdin>:144:1: note: possible intended match here
# | define range(i16 2, 6) <2 x i16> @phi_merge1(i1 %c, <2 x i8> %a) {
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            133: if.end: ; preds = %if.then, %entry 
# |            134:  %r = phi <4 x i64> [ splat (i64 1), %if.then ], [ zeroinitializer, %entry ] 
# |            135:  ret <4 x i64> %r 
# |            136: } 
# |            137:  
# |            138: define <4 x i64> @issue_97674_getConstant() { 
# | label:280'0                                                  X error: no match found
# |            139: entry: 
# | label:280'0     ~~~~~~~
# |            140:  %folds = add nuw nsw <4 x i64> zeroinitializer, zeroinitializer 
# | label:280'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            141:  ret <4 x i64> zeroinitializer 
# | label:280'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            142: } 
# | label:280'0     ~~
# |            143:  
# | label:280'0     ~
# |            144: define range(i16 2, 6) <2 x i16> @phi_merge1(i1 %c, <2 x i8> %a) { 
# | label:280'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:280'1     ?                                                                   possible intended match
# |            145: entry: 
# | label:280'0     ~~~~~~~
# |            146:  %zext = zext <2 x i8> %a to <2 x i16> 
# | label:280'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            147:  br i1 %c, label %if, label %join 
# | label:280'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            148:  
# | label:280'0     ~
# |            149: if: ; preds = %entry 
# | label:280'0     ~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/PhaseOrdering/loop-access-checks.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='default<O2>' -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/loop-access-checks.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/loop-access-checks.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=default<O2>' -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/loop-access-checks.ll
# 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/PhaseOrdering/loop-access-checks.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/loop-access-checks.ll:357:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[INC]] = add nuw i32 [[I_09]], 1
# |               ^
# | <stdin>:104:19: note: scanning from here
# | for.cond.cleanup3: ; preds = %for.body4
# |                   ^
# | <stdin>:104:19: note: with "INC" equal to "%inc"
# | for.cond.cleanup3: ; preds = %for.body4
# |                   ^
# | <stdin>:104:19: note: with "I_09" equal to "%i.09"
# | for.cond.cleanup3: ; preds = %for.body4
# |                   ^
# | <stdin>:114:5: note: possible intended match here
# |  %add = add nsw i32 %0, 1
# |     ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/loop-access-checks.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            99:  br label %for.body4 
# |           100:  
# |           101: for.cond.cleanup: ; preds = %for.cond.cleanup3, %entry 
# |           102:  ret void 
# |           103:  
# |           104: for.cond.cleanup3: ; preds = %for.body4 
# | next:357'0                       X~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | next:357'1                                              with "INC" equal to "%inc"
# | next:357'2                                              with "I_09" equal to "%i.09"
# |           105:  %inc = add nuw nsw i32 %i.09, 1 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           106:  %cmp = icmp ult i32 %inc, %len 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           107:  br i1 %cmp, label %for.body4.preheader, label %for.cond.cleanup 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           108:  
# | next:357'0     ~
# |           109: for.body4: ; preds = %for.body4.preheader, %for.body4 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           110:  %k.07 = phi i32 [ %dec, %for.body4 ], [ %i.09, %for.body4.preheader ] 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           111:  %idx.ext.i = zext i32 %k.07 to i64 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           112:  %add.ptr.i = getelementptr inbounds nuw i32, ptr %arr, i64 %idx.ext.i 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           113:  %0 = load i32, ptr %add.ptr.i, align 4 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           114:  %add = add nsw i32 %0, 1 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:357'3         ?                      possible intended match
# |           115:  store i32 %add, ptr %add.ptr.i, align 4 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           116:  %dec = add i32 %k.07, -1 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           117:  %cmp2.not = icmp eq i32 %dec, 0 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           118:  br i1 %cmp2.not, label %for.cond.cleanup3, label %for.body4 
# | next:357'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           119: } 
# | next:357'0     ~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/PhaseOrdering/switch-sext.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes="default<O3>" < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/switch-sext.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/switch-sext.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S '-passes=default<O3>'
# 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/PhaseOrdering/switch-sext.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/switch-sext.ll:5:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define noundef i8 @test_switch_with_sext_phi(
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:5:10: note: possible intended match here
# | define range(i8 0, 114) i8 @test_switch_with_sext_phi(i8 %code) local_unnamed_addr #0 {
# |          ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/switch-sext.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: ; ModuleID = '<stdin>' 
# | label:5'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: source_filename = "<stdin>" 
# | label:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3:  
# | label:5'0     ~
# |            4: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# | label:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: define range(i8 0, 114) i8 @test_switch_with_sext_phi(i8 %code) local_unnamed_addr #0 { 
# | label:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:5'1              ?                                                                               possible intended match
# |            6: entry: 
# | label:5'0     ~~~~~~~
# |            7:  switch i8 %code, label %sw.epilog [ 
# | label:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8:  i8 108, label %sw.bb2 
# | label:5'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            9:  i8 76, label %sw.bb3 
# | label:5'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           10:  ] 
# | label:5'0     ~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/173714


More information about the llvm-commits mailing list