[Mlir-commits] [clang] [llvm] [mlir] [MC][NFC] Make FeatureKV/SubtargetKV pointers private (PR #206178)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Jun 27 02:12:39 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `clang,llvm,mlir` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/27477
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
149 | PB.registerPipelineParsingCallback([=](StringRef Name,
| ^
| , this
2 warnings generated.
1151.361 [4449/18/2051] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64ISelLowering.cpp.o
1151.519 [4448/18/2052] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAliasAnalysis.cpp.o
1153.260 [4447/18/2053] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64TargetTransformInfo.cpp.o
1155.184 [4446/18/2054] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUArgumentUsageInfo.cpp.o
1156.813 [4445/18/2055] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAnnotateUniformValues.cpp.o
1157.423 [4444/18/2056] Building CXX object lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64MCTargetDesc.cpp.o
FAILED: lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64MCTargetDesc.cpp.o
ccache /usr/bin/clang++-17 -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/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/MCTargetDesc -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64 -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64 -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/.. -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/MCTargetDesc/.. -Wno-deprecated-enum-enum-conversion -Wno-deprecated-declarations -Wno-deprecated-anon-enum-enum-conversion -Wno-ambiguous-reversed-operator -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++20 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64MCTargetDesc.cpp.o -MF lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64MCTargetDesc.cpp.o.d -o lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64MCTargetDesc.cpp.o -c /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
In file included from /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:44:
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/AArch64GenSubtargetInfo.inc:638:3: error: no matching constructor for initialization of 'const llvm::SubtargetFeatureKV'
638 | { "CONTEXTIDREL2", "Enable RW operand CONTEXTIDR_EL2", AArch64::FeatureCONTEXTIDREL2, { { { 0x0ULL, 0x0ULL, 0x0ULL, 0x0ULL, 0x0ULL, 0x0ULL, } } } },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/MC/MCSubtargetInfo.h:45:3: note: candidate constructor not viable: requires 1 argument, but 4 were provided
45 | SubtargetFeatureKV(const SubtargetFeatureKV &) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:44:
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/AArch64GenSubtargetInfo.inc:639:3: error: no matching constructor for initialization of 'const llvm::SubtargetFeatureKV'
639 | { "a320", "Cortex-A320 ARM processors", AArch64::TuneA320, { { { 0x40ULL, 0x2400000ULL, 0x8000ULL, 0x48000000000000ULL, 0x0ULL, 0x0ULL, } } } },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/MC/MCSubtargetInfo.h:45:3: note: candidate constructor not viable: requires 1 argument, but 4 were provided
45 | SubtargetFeatureKV(const SubtargetFeatureKV &) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:44:
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/AArch64GenSubtargetInfo.inc:640:3: error: no matching constructor for initialization of 'const llvm::SubtargetFeatureKV'
640 | { "a35", "Cortex-A35 ARM processors", AArch64::TuneA35, { { { 0x0ULL, 0x0ULL, 0x0ULL, 0x0ULL, 0x0ULL, 0x0ULL, } } } },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/MC/MCSubtargetInfo.h:45:3: note: candidate constructor not viable: requires 1 argument, but 4 were provided
45 | SubtargetFeatureKV(const SubtargetFeatureKV &) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:44:
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/AArch64GenSubtargetInfo.inc:641:3: error: no matching constructor for initialization of 'const llvm::SubtargetFeatureKV'
641 | { "a510", "Cortex-A510 ARM processors", AArch64::TuneA510, { { { 0x0ULL, 0x2400000ULL, 0x8000ULL, 0x48000000000000ULL, 0x0ULL, 0x0ULL, } } } },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/MC/MCSubtargetInfo.h:45:3: note: candidate constructor not viable: requires 1 argument, but 4 were provided
45 | SubtargetFeatureKV(const SubtargetFeatureKV &) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:44:
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/AArch64GenSubtargetInfo.inc:642:3: error: no matching constructor for initialization of 'const llvm::SubtargetFeatureKV'
642 | { "a520", "Cortex-A520 ARM processors", AArch64::TuneA520, { { { 0x0ULL, 0x2400000ULL, 0x8000ULL, 0x48000000000000ULL, 0x0ULL, 0x0ULL, } } } },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/MC/MCSubtargetInfo.h:45:3: note: candidate constructor not viable: requires 1 argument, but 4 were provided
45 | SubtargetFeatureKV(const SubtargetFeatureKV &) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:44:
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/AArch64/AArch64GenSubtargetInfo.inc:643:3: error: no matching constructor for initialization of 'const llvm::SubtargetFeatureKV'
```
</details>
https://github.com/llvm/llvm-project/pull/206178
More information about the Mlir-commits
mailing list