[llvm] [InstCombine] Use common flags for shl in shl/trunc fold. (PR #221769)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 12:18:23 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt` running on `systemz-1` while building `llvm` at step 7 "ninja check 1".

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

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

```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'libFuzzer-s390x-default-Linux :: fuzzer-timeout.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/./bin/clang    -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   --driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer -I/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer  /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/TimeoutTest.cpp -o /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest
# executed command: /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/./bin/clang -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta --driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer -I/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/TimeoutTest.cpp -o /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest
# RUN: at line 2
/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/./bin/clang    -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   --driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer -I/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer  /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp -o /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutEmptyTest
# executed command: /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/./bin/clang -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta --driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer -I/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp -o /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutEmptyTest
# RUN: at line 3
not  /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest -timeout=1 2>&1 | FileCheck /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/fuzzer-timeout.test --check-prefix=TimeoutTest
# executed command: not /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest -timeout=1
# executed command: FileCheck /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/fuzzer-timeout.test --check-prefix=TimeoutTest
# RUN: at line 12
not  /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest -timeout=1 /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/hi.txt 2>&1 | FileCheck /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/fuzzer-timeout.test --check-prefix=SingleInputTimeoutTest
# executed command: not /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest -timeout=1 /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/hi.txt
# executed command: FileCheck /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/test/fuzzer/fuzzer-timeout.test --check-prefix=SingleInputTimeoutTest
# RUN: at line 16
/home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest -timeout=1 -timeout_exitcode=0
# executed command: /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/runtimes/runtimes-bins/compiler-rt/test/fuzzer/S390XDefaultLinuxConfig/Output/fuzzer-timeout.test.tmp-TimeoutTest -timeout=1 -timeout_exitcode=0
# .---command stderr------------
# | INFO: Running with entropic power schedule (0xFF, 100).
# | INFO: Seed: 3413773570
# | INFO: Loaded 1 modules   (12 inline 8-bit counters): 12 [0x2aa39bcce80, 0x2aa39bcce8c), 
# | INFO: Loaded 1 PC tables (12 PCs): 12 [0x2aa39bcce90,0x2aa39bccf50), 
# | INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
# | INFO: A corpus is not provided, starting from an empty corpus
# | #2	INITED cov: 2 ft: 2 corp: 1/1b exec/s: 0 rss: 117Mb
# | #110	NEW    cov: 3 ft: 3 corp: 2/2b lim: 4 exec/s: 0 rss: 117Mb L: 1/1 MS: 3 InsertByte-EraseBytes-ChangeByte-
# | #111	NEW    cov: 4 ft: 4 corp: 3/4b lim: 4 exec/s: 0 rss: 117Mb L: 2/2 MS: 1 CrossOver-
# | #1012	NEW    cov: 5 ft: 5 corp: 4/6b lim: 11 exec/s: 0 rss: 117Mb L: 2/2 MS: 1 InsertByte-
# | #1068	NEW    cov: 6 ft: 6 corp: 5/9b lim: 11 exec/s: 0 rss: 117Mb L: 3/3 MS: 1 CrossOver-
# | ALARM: working on the last Unit for 1 seconds
# |        and the timeout value is 1 (use -timeout=N to change)
# | MS: 4 ChangeByte-CrossOver-ShuffleBytes-ChangeByte-; base unit: adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
# | 0x48,0x69,0x21,
# | Hi!
# | artifact_prefix='./'; Test unit written to ./timeout-c0a0ad26a634840c67a210fefdda76577b03a111
# | Base64: SGkh
# | ==1927007== ERROR: libFuzzer: timeout after 1 seconds
# | /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/stage1/./bin/llvm-symbolizer: error: 'linux-vdso.so.1': No such file or directory
# |     #0 0x02aa39b454e5 in __sanitizer_print_stack_trace /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/asan/asan_stack.cpp:87:3
# |     #1 0x02aa39a7bd47 in fuzzer::PrintStackTrace() /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5
# |     #2 0x02aa39a55adb in fuzzer::Fuzzer::AlarmCallback() /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:304:5
# |     #3 0x03ffd9dfe53f  (linux-vdso.so.1+0x53f) (BuildId: 9b555de42ae5c6a6ac7aca5f0f0fb2849376cf38)
# |     #4 0x02aa39a79861 in AddValue /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer/FuzzerValueBitMap.h:38:33
# |     #5 0x02aa39a79861 in HandleCmp<unsigned int> /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:383:19
# |     #6 0x02aa39a79861 in __sanitizer_cov_trace_const_cmp4 /home/buildbot/sandbox/buildbot/clang-s390x-linux-lnt/llvm/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:505:15
...

```

</details>

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


More information about the llvm-commits mailing list