[llvm] [CodeGen] Introduce `MachineDomTreeUpdater` (PR #95369)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 21:31:38 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vla` running on `linaro-g3-04` while building `llvm` at step 6 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/17/builds/304
Here is the relevant piece of the build log for the reference:
```
Step 6 (build stage 1) failure: 'ninja' (failure)
...
[1125/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineTraceMetrics.cpp.o
[1126/8563] Building AMDGPUGenDisassemblerTables.inc...
[1127/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineUniformityAnalysis.cpp.o
[1128/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MultiHazardRecognizer.cpp.o
[1129/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/NonRelocatableStringpool.cpp.o
[1130/8563] Building AMDGPUGenSearchableTables.inc...
[1131/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MBFIWrapper.cpp.o
[1132/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/PHIEliminationUtils.cpp.o
[1133/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/OptimizePHIs.cpp.o
[1134/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachinePostDominators.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachinePostDominators.cpp.o
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/CodeGen -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/CodeGen -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachinePostDominators.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachinePostDominators.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachinePostDominators.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/CodeGen/MachinePostDominators.cpp
In file included from ../llvm/llvm/lib/CodeGen/MachinePostDominators.cpp:14:
../llvm/llvm/include/llvm/CodeGen/MachinePostDominators.h:53:3: error: constructor cannot be redeclared
53 | MachinePostDominatorTree(MachineFunction &MF) { recalculate(MF); }
| ^
../llvm/llvm/include/llvm/CodeGen/MachinePostDominators.h:51:12: note: previous definition is here
51 | explicit MachinePostDominatorTree(MachineFunction &MF) { recalculate(MF); }
| ^
1 error generated.
[1135/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineDomTreeUpdater.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineDomTreeUpdater.cpp.o
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/CodeGen -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/CodeGen -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineDomTreeUpdater.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineDomTreeUpdater.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineDomTreeUpdater.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
In file included from ../llvm/llvm/lib/CodeGen/MachineDomTreeUpdater.cpp:14:
In file included from ../llvm/llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h:21:
../llvm/llvm/include/llvm/CodeGen/MachinePostDominators.h:53:3: error: constructor cannot be redeclared
53 | MachinePostDominatorTree(MachineFunction &MF) { recalculate(MF); }
| ^
../llvm/llvm/include/llvm/CodeGen/MachinePostDominators.h:51:12: note: previous definition is here
51 | explicit MachinePostDominatorTree(MachineFunction &MF) { recalculate(MF); }
| ^
1 error generated.
[1136/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/PatchableFunction.cpp.o
[1137/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MIRPrintingPass.cpp.o
[1138/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MIRYamlMapping.cpp.o
[1139/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/PostRAHazardRecognizer.cpp.o
[1140/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineRegionInfo.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineRegionInfo.cpp.o
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/CodeGen -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/CodeGen -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineRegionInfo.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineRegionInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineRegionInfo.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/CodeGen/MachineRegionInfo.cpp
In file included from ../llvm/llvm/lib/CodeGen/MachineRegionInfo.cpp:12:
../llvm/llvm/include/llvm/CodeGen/MachinePostDominators.h:53:3: error: constructor cannot be redeclared
53 | MachinePostDominatorTree(MachineFunction &MF) { recalculate(MF); }
| ^
../llvm/llvm/include/llvm/CodeGen/MachinePostDominators.h:51:12: note: previous definition is here
51 | explicit MachinePostDominatorTree(MachineFunction &MF) { recalculate(MF); }
| ^
1 error generated.
[1141/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MacroFusion.cpp.o
[1142/8563] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/ProcessImplicitDefs.cpp.o
```
https://github.com/llvm/llvm-project/pull/95369
More information about the llvm-commits
mailing list