[llvm] [SCEV] Infer no-wrap flags for shl by a constant. (PR #208434)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 06:21:23 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 138238 tests passed
* 3532 tests skipped
* 1 test failed

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

### lld
<details>
<summary>lld.ELF/lto/thinlto.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
rm -rf C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\lto\Output\thinlto.ll.tmp && mkdir C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\lto\Output\thinlto.ll.tmp && cd C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\lto\Output\thinlto.ll.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\lto\Output\thinlto.ll.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\lto\Output\thinlto.ll.tmp'
# note: command had no output on stdout or stderr
# executed command: cd 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\lto\Output\thinlto.ll.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 5
mkdir d e
# executed command: mkdir d e
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll -o a.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' -o a.o
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary C:\_work\llvm-project\llvm-project\lld\test\ELF\lto/Inputs/thinlto.ll -o d/b.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto/Inputs/thinlto.ll' -o d/b.o
# note: command had no output on stdout or stderr
# RUN: at line 10
rm -f out.lto.a.o d/out.lto.b.o
# executed command: rm -f out.lto.a.o d/out.lto.b.o
# note: command had no output on stdout or stderr
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe -save-temps --thinlto-jobs=1 -shared a.o d/b.o -o e/out
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe' -save-temps --thinlto-jobs=1 -shared a.o d/b.o -o e/out
# note: command had no output on stdout or stderr
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe out.lto.a.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll --check-prefix=NM1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' out.lto.a.o
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' --check-prefix=NM1
# note: command had no output on stdout or stderr
# RUN: at line 13
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe d/out.lto.b.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll --check-prefix=NM2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' d/out.lto.b.o
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' --check-prefix=NM2
# note: command had no output on stdout or stderr
# RUN: at line 16
rm -f out.lto.a.o d/out.lto.b.o
# executed command: rm -f out.lto.a.o d/out.lto.b.o
# note: command had no output on stdout or stderr
# RUN: at line 17
c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe -save-temps --thinlto-jobs=2 -shared a.o d/b.o -o e/out
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe' -save-temps --thinlto-jobs=2 -shared a.o d/b.o -o e/out
# note: command had no output on stdout or stderr
# RUN: at line 18
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe out.lto.a.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll --check-prefix=NM1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' out.lto.a.o
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' --check-prefix=NM1
# note: command had no output on stdout or stderr
# RUN: at line 19
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe d/out.lto.b.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll --check-prefix=NM2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' d/out.lto.b.o
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' --check-prefix=NM2
# note: command had no output on stdout or stderr
# RUN: at line 22
rm -f out.lto.a.o d/out.lto.b.o
# executed command: rm -f out.lto.a.o d/out.lto.b.o
# note: command had no output on stdout or stderr
# RUN: at line 23
c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe -save-temps --plugin-opt=jobs=2 -shared a.o d/b.o -o e/out
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe' -save-temps --plugin-opt=jobs=2 -shared a.o d/b.o -o e/out
# note: command had no output on stdout or stderr
# RUN: at line 24
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe out.lto.a.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll --check-prefix=NM1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' out.lto.a.o
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' --check-prefix=NM1
# note: command had no output on stdout or stderr
# RUN: at line 25
c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe d/out.lto.b.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll --check-prefix=NM2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-nm.exe' d/out.lto.b.o
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\lto\thinlto.ll' --check-prefix=NM2
# note: command had no output on stdout or stderr
# RUN: at line 28
rm -f out.lto.a.o d/out.lto.b.o
# executed command: rm -f out.lto.a.o d/out.lto.b.o
# note: command had no output on stdout or stderr
# RUN: at line 29
c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe -save-temps --threads=2 -shared a.o d/b.o -o e/out
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe' -save-temps --threads=2 -shared a.o d/b.o -o e/out
# .---command stderr------------
# | failed to open d/b.o.0.preopt.bc: invalid argument
# `-----------------------------
# 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/208434


More information about the llvm-commits mailing list