[llvm] [SeparateConstOffsetFromGEP] Stop distributing sext/zext over lossy trunc (PR #221381)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 05:44:56 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 152863 tests passed
* 3311 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### BOLT
<details>
<summary>BOLT.RISCV/call-relocation-pair.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv64 -mattr=-relax -filetype=obj -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv64 -mattr=-relax -filetype=obj -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld --no-relax --emit-relocs -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld --no-relax --emit-relocs -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readelf --relocations /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=RELOCS /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readelf --relocations /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=RELOCS /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a --print-fix-riscv-calls --print-only=_start -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.bolt /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=BOLT /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a --print-fix-riscv-calls --print-only=_start -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.bolt /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=BOLT /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump -d /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.bolt | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=OBJDUMP /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump -d /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/RISCV/Output/call-relocation-pair.s.tmp.bolt
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=OBJDUMP /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s:25:18: error: OBJDUMP-NEXT: expected string not found in input
# | // OBJDUMP-NEXT: auipc ra,
# | ^
# | <stdin>:36:22: note: scanning from here
# | 80109c: 00000013 nop
# | ^
# | <stdin>:46:20: note: possible intended match here
# | 00000000008010c0 <target_call>:
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/RISCV/call-relocation-pair.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 31: 601010: 00200097 auipc ra, 0x200
# | 32: 601014: 170080e7 jalr 0x170(ra) <target_call_plt>
# | 33: 601018: fe9fe0ef jal 0x600000 <target_backward>
# | 34: 60101c: 00008067 ret
# | 35: ...
# | 36: 80109c: 00000013 nop
# | next:25'0 { search range start (exclusive)
# | next:25'1 error: no match found in search range
# | 37: 8010a0: 00000013 nop
# | 38: 8010a4: 00000013 nop
# | 39: 8010a8: 00000013 nop
# | 40: 8010ac: 00000013 nop
# | 41: 8010b0: 00000013 nop
# | 42: 8010b4: 00000013 nop
# | 43: 8010b8: 00000013 nop
# | 44: 8010bc: 00000013 nop
# | 45:
# | 46: 00000000008010c0 <target_call>:
# | next:25'2 ? possible intended match
# | next:25'3 } search range end (exclusive)
# | 47: 8010c0: 00008067 ret
# | 48: 8010c4: 00000013 nop
# | 49: ...
# | 50: 80114c: 00000013 nop
# | 51: 801150: 00000013 nop
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### lldb-api
<details>
<summary>lldb-api.functionalities/statusline/TestStatusline.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 --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --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/statusline -p TestStatusline.py --timeout 1200
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test (TestStatusline.TestStatusline.test)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_deadlock (TestStatusline.TestStatusline.test_deadlock)
SKIPPED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_modulelist_deadlock (TestStatusline.TestStatusline.test_modulelist_deadlock) (skip on linux)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_no_color (TestStatusline.TestStatusline.test_no_color)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_no_target (TestStatusline.TestStatusline.test_no_target)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_resize (TestStatusline.TestStatusline.test_resize)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_resize_height_shrink_makes_room (TestStatusline.TestStatusline.test_resize_height_shrink_makes_room)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_resize_recomputes_without_clearing (TestStatusline.TestStatusline.test_resize_recomputes_without_clearing)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_scripted_command_output_not_eaten (TestStatusline.TestStatusline.test_scripted_command_output_not_eaten)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/functionalities/statusline/TestStatusline/Error_test_scripted_command_output_not_eaten.log
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_target_symbols_add (TestStatusline.TestStatusline.test_target_symbols_add)
======================================================================
ERROR: test_scripted_command_output_not_eaten (TestStatusline.TestStatusline.test_scripted_command_output_not_eaten)
A scripted command's print() output must be serialized with the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/statusline/TestStatusline.py", line 150, in test_scripted_command_output_not_eaten
self.child.expect(last_marker.decode())
File "/home/gha/.local/lib/python3.12/site-packages/pexpect/spawnbase.py", line 354, in expect
return self.expect_list(compiled_pattern_list,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/.local/lib/python3.12/site-packages/pexpect/spawnbase.py", line 383, in expect_list
return exp.expect_loop(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/.local/lib/python3.12/site-packages/pexpect/expect.py", line 181, in expect_loop
return self.timeout(e)
^^^^^^^^^^^^^^^
File "/home/gha/.local/lib/python3.12/site-packages/pexpect/expect.py", line 144, in timeout
raise exc
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7c463911e8a0>
command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb
args: ['/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb', '--no-lldbinit', '--no-use-colors', '-O', 'settings clear --all', '-O', 'settings set symbols.enable-external-lookup false', '-O', 'settings set target.inherit-tcc true', '-O', 'settings set target.disable-aslr false', '-O', 'settings set target.detach-on-error false', '-O', 'settings set target.auto-apply-fixits false', '-O', 'settings set plugin.process.gdb-remote.packet-timeout 60', '-O', 'settings set target.process.utility-expression-timeout 600', '-O', 'settings set symbols.clang-modules-cache-path "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api"', '-O', 'settings set use-color false', '-O', 'settings set show-statusline false', '-O', 'settings set target.check-vo-ownership true']
buffer (last 100 chars): b'\x1b[0m\x1b[?7h\x1b8\x1b7\x1b[?7l\x1b[10;1f\x1b[7mno target \x1b[0m\x1b[?7h\x1b8'
before (last 100 chars): b'\x1b[0m\x1b[?7h\x1b8\x1b7\x1b[?7l\x1b[10;1f\x1b[7mno target \x1b[0m\x1b[?7h\x1b8'
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 1688316
child_fd: 5
closed: False
timeout: 60
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: <TestStatusline.CaptureTee object at 0x7c4639166390>
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile(b'MARKER_0499')
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 10 tests in 66.003s
FAILED (errors=1, skipped=1)
Skip breakdown (unsupported=0, skipped=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/221381
More information about the llvm-commits
mailing list