[llvm] [DAG] Propagate OrZero and DemandedElts for min/max in isKnownToBeAPowerOfTwo (PR #182369)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 05:00:17 PDT 2026


llvm-ci wrote:

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

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

<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 'Clang :: Analysis/Scalable/call-graph.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# executed command: rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/23/include -nostdsysteminc -fsyntax-only /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp    --ssaf-extract-summaries=CallGraph    --ssaf-tu-summary-file=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/23/include -nostdsysteminc -fsyntax-only /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp --ssaf-extract-summaries=CallGraph --ssaf-tu-summary-file=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp --match-full-lines --input-file=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp --match-full-lines --input-file=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# .---command stderr------------
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp:13:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: "pretty_name": "caller()",
# |               ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:7:21: note: scanning from here
# |  "entity_summary": {
# |                     ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:14:2: note: possible intended match here
# |  "pretty_name": "polymorphic(Base &)",
# |  ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp:23:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: "pretty_name": "polymorphic(Base &)",
# |               ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:24:21: note: scanning from here
# |  "entity_summary": {
# |                     ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:35:2: note: possible intended match here
# |  "pretty_name": "caller()",
# |  ^
# | 
# | Input file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# | Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: { 
# |           2:  "data": [ 
# |           3:  { 
# |           4:  "summary_data": [ 
# |           5:  { 
# |           6:  "entity_id": 1, 
# |           7:  "entity_summary": { 
...

```

</details>

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


More information about the llvm-commits mailing list