[llvm] [InstCombine] Fold shl of constant by cttz into multiply of lowest set bit (PR #214517)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 16 01:31:00 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-dylib` running on `bolt-worker` while building `llvm` at step 6 "test-build-bolt-check-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/119/builds/10749
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-bolt-check-bolt) failure: test (failure)
...
203.997 [624/18/422] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o
208.518 [623/18/423] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o
209.304 [622/18/424] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o
210.773 [621/18/425] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o
211.387 [620/18/426] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o
212.990 [619/18/427] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaWasm.cpp.o
213.488 [618/18/428] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaX86.cpp.o
214.158 [617/18/429] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTypeTraits.cpp.o
217.105 [616/18/430] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o
217.321 [615/18/431] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o
FAILED: tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/tools/clang/lib/Sema -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/lib/Sema -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/tools/clang/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -MF tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o.d -o tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:2119:16: error: declaration of ‘clang::TemplateName SubstitutedFriend::TemplateName’ changes meaning of ‘TemplateName’ [-fpermissive]
2119 | TemplateName TemplateName;
| ^~~~~~~~~~~~
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/TypeBase.h:22,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/DeclarationName.h:16,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/DeclBase.h:19,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/Decl.h:20,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/lib/Sema/CoroutineStmtBuilder.h:16,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/lib/Sema/TreeTransform.h:16,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/TemplateName.h:222:7: note: ‘TemplateName’ declared here as ‘class clang::TemplateName’
222 | class TemplateName {
| ^~~~~~~~~~~~
221.048 [615/17/432] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o
222.661 [615/16/433] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o
224.057 [615/15/434] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o
224.590 [615/14/435] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o
224.718 [615/13/436] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o
225.673 [615/12/437] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o
226.140 [615/11/438] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o
226.614 [615/10/439] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o
226.981 [615/9/440] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o
227.713 [615/8/441] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeductionGuide.cpp.o
229.531 [615/7/442] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o
229.637 [615/6/443] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o
233.146 [615/5/444] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o
233.996 [615/4/445] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o
234.648 [615/3/446] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o
237.273 [615/2/447] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o
245.068 [615/1/448] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o
In file included from /usr/include/string.h:535,
from /usr/include/c++/11/cstring:42,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/ADT/SmallVector.h:25,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/Basic/LLVM.h:24,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/AttrIterator.h:16,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/AST/Attr.h:17,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/clang/include/clang/Sema/SemaOpenMP.h:18,
```
</details>
https://github.com/llvm/llvm-project/pull/214517
More information about the llvm-commits
mailing list