[llvm] [SDAG] Constant fold frexp in signed way (PR #161015)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 27 19:29:45 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'libFuzzer-x86_64-default-Linux :: symbolize-deadlock.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
INFO: Running with entropic power schedule (0xFF, 100).
INFO: Seed: 3472293391
INFO: Loaded 1 modules   (10 inline 8-bit counters): 10 [0x55a07831de60, 0x55a07831de6a), 
INFO: Loaded 1 PC tables (10 PCs): 10 [0x55a07831de70,0x55a07831df10), 
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: 31Mb
#31	NEW    cov: 3 ft: 3 corp: 2/4b lim: 4 exec/s: 0 rss: 32Mb L: 3/3 MS: 4 ChangeByte-CrossOver-ChangeBit-CopyPart-
#5075	NEW    cov: 4 ft: 4 corp: 3/8b lim: 53 exec/s: 0 rss: 32Mb L: 4/4 MS: 4 ChangeByte-CrossOver-ChangeByte-CrossOver-
#5118	REDUCE cov: 4 ft: 4 corp: 3/7b lim: 53 exec/s: 0 rss: 32Mb L: 3/3 MS: 3 ChangeASCIIInt-CrossOver-EraseBytes-
#70207	REDUCE cov: 5 ft: 5 corp: 4/11b lim: 697 exec/s: 0 rss: 37Mb L: 4/4 MS: 4 ChangeASCIIInt-InsertByte-CrossOver-ChangeByte-
#70385	REDUCE cov: 5 ft: 5 corp: 4/10b lim: 697 exec/s: 0 rss: 37Mb L: 3/3 MS: 3 ChangeBit-Change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aaaaaaaaaaaaaaaaaaaaaaaaa
#142511	REDUCE cov: 9 ft: 9 corp: 5/13b lim: 1410 exec/s: 0 rss: 43Mb L: 3/3 MS: 1 ChangeByte-
==1501119== ERROR: libFuzzer: out-of-memory (used: 43Mb; limit: 20Mb)
   To change the out-of-memory limit use -rss_limit_mb=<N>

Live Heap Allocations: 24466532 bytes in 74 chunks; quarantined: 3504656 bytes in 146848 chunks; 24901 other chunks; total chunks: 171823; showing top 95% (at most 8 unique contexts)
21233984 byte(s) (86%) in 1 allocation(s)
    #0 0x55a0782cfb5d in operator new(unsigned long) /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:109:35
    #1 0x55a0781bb041 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:822:18
    #2 0x55a0781e9322 in main /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    #3 0x7f78c2062082 in __libc_start_main /build/glibc-B3wQXB/glibc-2.31/csu/../csu/libc-start.c:308:16

3148000 byte(s) (12%) in 1 allocation(s)
    #0 0x55a0782cfb5d in operator new(unsigned long) /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:109:35
    #1 0x55a0781bb01b in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:821:14
    #2 0x55a0781e9322 in main /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    #3 0x7f78c2062082 in __libc_start_main /build/glibc-B3wQXB/glibc-2.31/csu/../csu/libc-start.c:308:16

MS: 5 ChangeBit-error: Aborted

--
Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang    -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   --driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/fuzzer -m64 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/fuzzer/X86_64DefaultLinuxConfig/Output/symbolize-deadlock.test.tmp # RUN: at line 1
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta --driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/lib/fuzzer -m64 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/fuzzer/X86_64DefaultLinuxConfig/Output/symbolize-deadlock.test.tmp
not  /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/fuzzer/X86_64DefaultLinuxConfig/Output/symbolize-deadlock.test.tmp -rss_limit_mb=20 2>&1 # RUN: at line 2
+ not /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/fuzzer/X86_64DefaultLinuxConfig/Output/symbolize-deadlock.test.tmp -rss_limit_mb=20

--

********************


```

</details>

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


More information about the llvm-commits mailing list