[llvm] [CodeGen] Introduce `MachineDomTreeUpdater` (PR #95369)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 21:34:17 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-win` running on `avx512-intel64-win` while building `llvm` at step 5 "build stage 1".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build stage 1) failure: 'ninja' (failure)
...
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1336/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveRangeEdit.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1337/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveVariables.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1338/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveRangeCalc.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1339/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LowerEmuTLS.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1340/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineDomTreeUpdater.cpp.obj
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineDomTreeUpdater.cpp.obj 
C:\PROGRA~1\MICROS~1\2022\PROFES~1\VC\Tools\MSVC\1437~1.328\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 -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\lib\CodeGen -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\lib\CodeGen -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\include -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\include -march=cascadelake /Zc:inline /Zc:preprocessor /Zc:__cplusplus /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 /Ob0 /Od /RTC1 -std:c++17 -MDd -Zi  /EHs-c- /GR- /showIncludes /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineDomTreeUpdater.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb /FS -c D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\lib\CodeGen\MachineDomTreeUpdater.cpp
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\include\llvm/CodeGen/MachinePostDominators.h(53): error C2535: 'llvm::MachinePostDominatorTree::MachinePostDominatorTree(llvm::MachineFunction &)': member function already defined or declared
D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\include\llvm/CodeGen/MachinePostDominators.h(51): note: see declaration of 'llvm::MachinePostDominatorTree::MachinePostDominatorTree'
[1341/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\InterleavedLoadCombinePass.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1342/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LocalStackSlotAllocation.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1343/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineFunctionPrinterPass.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1344/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\KCFI.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1345/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\InterleavedAccessPass.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1346/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockPlacement.cpp.obj
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBlockPlacement.cpp.obj 
C:\PROGRA~1\MICROS~1\2022\PROFES~1\VC\Tools\MSVC\1437~1.328\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 -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\lib\CodeGen -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\lib\CodeGen -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\include -ID:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\include -march=cascadelake /Zc:inline /Zc:preprocessor /Zc:__cplusplus /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 /Ob0 /Od /RTC1 -std:c++17 -MDd -Zi  /EHs-c- /GR- /showIncludes /Folib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockPlacement.cpp.obj /Fdlib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LLVMCodeGen.pdb /FS -c D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\lib\CodeGen\MachineBlockPlacement.cpp
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\include\llvm/CodeGen/MachinePostDominators.h(53): error C2535: 'llvm::MachinePostDominatorTree::MachinePostDominatorTree(llvm::MachineFunction &)': member function already defined or declared
D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\include\llvm/CodeGen/MachinePostDominators.h(51): note: see declaration of 'llvm::MachinePostDominatorTree::MachinePostDominatorTree'
[1347/4702] Building CXX object tools\clang\lib\Sema\CMakeFiles\obj.clangSema.dir\SemaOpenMP.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1348/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineBlockFrequencyInfo.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1349/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineDominanceFrontier.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1350/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\CodeGenPrepare.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1351/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveIntervals.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1352/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCopyPropagation.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1353/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineFrameInfo.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1354/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\LiveDebugVariables.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'
[1355/4702] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineCycleAnalysis.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-march=cascadelake'

```

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


More information about the llvm-commits mailing list