[llvm] [CodeGen] Introduce `MachineDomTreeUpdater` (PR #95369)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 21:28:49 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-windows` running on `sanitizer-windows` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/107/builds/428
Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py ...' (failure)
...
[28/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveVariables.cpp.obj
[29/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveRangeCalc.cpp.obj
[30/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCombiner.cpp.obj
[31/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LoopTraversal.cpp.obj
[32/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCFGPrinter.cpp.obj
[33/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCopyPropagation.cpp.obj
[34/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineConvergenceVerifier.cpp.obj
[35/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LocalStackSlotAllocation.cpp.obj
[36/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCSE.cpp.obj
[37/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockPlacement.cpp.obj
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBlockPlacement.cpp.obj
C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\sanitizer-windows\build\stage1\lib\CodeGen -IC:\b\slave\sanitizer-windows\llvm-project\llvm\lib\CodeGen -IC:\b\slave\sanitizer-windows\build\stage1\include -IC:\b\slave\sanitizer-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Zi /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2 -std:c++17 -MD /EHs-c- /GR- -UNDEBUG /showIncludes /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockPlacement.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb /FS -c C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\CodeGen\MachineBlockPlacement.cpp
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/CodeGen/MachinePostDominators.h(53): error C2535: 'llvm::MachinePostDominatorTree::MachinePostDominatorTree(llvm::MachineFunction &)': member function already defined or declared
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/CodeGen/MachinePostDominators.h(51): note: see declaration of 'llvm::MachinePostDominatorTree::MachinePostDominatorTree'
[38/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCheckDebugify.cpp.obj
[39/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCycleAnalysis.cpp.obj
[40/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockFrequencyInfo.cpp.obj
[41/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMTargetMachine.cpp.obj
[42/457] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\BackendUtil.cpp.obj
[43/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLateInstrsCleanup.cpp.obj
[44/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineInstrBundle.cpp.obj
[45/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLoopUtils.cpp.obj
[46/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineModuleInfo.cpp.obj
[47/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBasicBlock.cpp.obj
[48/457] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CodeGenAction.cpp.obj
[49/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLoopInfo.cpp.obj
[50/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLICM.cpp.obj
[51/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineInstr.cpp.obj
[52/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineFunction.cpp.obj
ninja: build stopped: subcommand failed.
Command 'ninja' failed with return code 1
@@@STEP_FAILURE@@@
Step 7 (stage 1 build) failure: stage 1 build (failure)
...
[28/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveVariables.cpp.obj
[29/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveRangeCalc.cpp.obj
[30/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCombiner.cpp.obj
[31/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LoopTraversal.cpp.obj
[32/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCFGPrinter.cpp.obj
[33/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCopyPropagation.cpp.obj
[34/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineConvergenceVerifier.cpp.obj
[35/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LocalStackSlotAllocation.cpp.obj
[36/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCSE.cpp.obj
[37/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockPlacement.cpp.obj
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBlockPlacement.cpp.obj
C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\sanitizer-windows\build\stage1\lib\CodeGen -IC:\b\slave\sanitizer-windows\llvm-project\llvm\lib\CodeGen -IC:\b\slave\sanitizer-windows\build\stage1\include -IC:\b\slave\sanitizer-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Zi /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2 -std:c++17 -MD /EHs-c- /GR- -UNDEBUG /showIncludes /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockPlacement.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb /FS -c C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\CodeGen\MachineBlockPlacement.cpp
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/CodeGen/MachinePostDominators.h(53): error C2535: 'llvm::MachinePostDominatorTree::MachinePostDominatorTree(llvm::MachineFunction &)': member function already defined or declared
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/CodeGen/MachinePostDominators.h(51): note: see declaration of 'llvm::MachinePostDominatorTree::MachinePostDominatorTree'
[38/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCheckDebugify.cpp.obj
[39/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCycleAnalysis.cpp.obj
[40/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockFrequencyInfo.cpp.obj
[41/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMTargetMachine.cpp.obj
[42/457] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\BackendUtil.cpp.obj
[43/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLateInstrsCleanup.cpp.obj
[44/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineInstrBundle.cpp.obj
[45/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLoopUtils.cpp.obj
[46/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineModuleInfo.cpp.obj
[47/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBasicBlock.cpp.obj
[48/457] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CodeGenAction.cpp.obj
[49/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLoopInfo.cpp.obj
[50/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLICM.cpp.obj
[51/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineInstr.cpp.obj
[52/457] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineFunction.cpp.obj
ninja: build stopped: subcommand failed.
Command 'ninja' failed with return code 1
program finished with exit code 0
elapsedTime=73.266000
```
https://github.com/llvm/llvm-project/pull/95369
More information about the llvm-commits
mailing list