[llvm] [AMDGPU] SelectionDAG divergence tracking should take into account Target divergency. (PR #144947)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 09:54:29 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/21374
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
33.701 [10/25/734] Building CXX object unittests/tools/llvm-mca/CMakeFiles/LLVMMCATests.dir/X86/TestIncrementalMCA.cpp.o
33.719 [10/24/735] Building CXX object unittests/tools/llvm-mca/CMakeFiles/LLVMMCATests.dir/X86/X86TestBase.cpp.o
33.737 [9/24/736] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
33.812 [9/23/737] Linking CXX executable unittests/tools/llvm-profgen/LLVMProfgenTests
33.993 [9/22/738] Linking CXX executable unittests/tools/llvm-profdata/LLVMProfdataTests
33.999 [9/21/739] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/KnownBitsTest.cpp.o
34.621 [8/21/740] Linking CXX executable unittests/Transforms/Utils/UtilsTests
34.821 [8/20/741] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
35.049 [8/19/742] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
35.612 [8/18/743] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o
FAILED: unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/ml-opt-rel-x86-64-b1/build/unittests/Target/AArch64 -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Target/AArch64 -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64 -I/b/ml-opt-rel-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/third-party/unittest/googlemock/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-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o -MF unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o.d -o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o -c /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp: In member function ‘virtual void llvm::AArch64SelectionDAGTest::SetUp()’:
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp:66:22: error: no matching function for call to ‘llvm::SelectionDAG::init(llvm::MachineFunction&, llvm::OptimizationRemarkEmitter&, std::nullptr_t, std::nullptr_t, std::nullptr_t, std::nullptr_t, std::nullptr_t, llvm::MachineModuleInfo&, std::nullptr_t)’
66 | nullptr);
| ^
In file included from /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp:13:
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/CodeGen/SelectionDAG.h:472:17: note: candidate: ‘void llvm::SelectionDAG::init(llvm::MachineFunction&, llvm::OptimizationRemarkEmitter&, llvm::Pass*, const llvm::TargetLibraryInfo*, llvm::UniformityInfo*, llvm::ProfileSummaryInfo*, llvm::BlockFrequencyInfo*, llvm::MachineModuleInfo&, const llvm::FunctionVarLocs*, bool)’
472 | LLVM_ABI void init(MachineFunction &NewMF, OptimizationRemarkEmitter &NewORE,
| ^~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/CodeGen/SelectionDAG.h:472:17: note: candidate expects 10 arguments, 9 provided
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/CodeGen/SelectionDAG.h:478:8: note: candidate: ‘void llvm::SelectionDAG::init(llvm::MachineFunction&, llvm::OptimizationRemarkEmitter&, llvm::MachineFunctionAnalysisManager&, const llvm::TargetLibraryInfo*, llvm::UniformityInfo*, llvm::ProfileSummaryInfo*, llvm::BlockFrequencyInfo*, llvm::MachineModuleInfo&, const llvm::FunctionVarLocs*, bool)’
478 | void init(MachineFunction &NewMF, OptimizationRemarkEmitter &NewORE,
| ^~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/CodeGen/SelectionDAG.h:478:8: note: candidate expects 10 arguments, 9 provided
35.768 [8/17/744] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
In file included from /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:13,
from /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/IR/DataLayout.h:23,
from /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/Target/TargetMachine.h:17,
from /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/CodeGen/CodeGenTargetMachineImpl.h:16,
from /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:9:
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/ADT/SmallVector.h: In member function ‘virtual void InstrRefLDVTest_VLocDiamondBlocks_Test::TestBody()’:
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/ADT/SmallVector.h:647:24: warning: array subscript 215 is outside array bounds of ‘llvm::SmallVector<LiveDebugValues::VLocTracker, 1> [1]’ [-Warray-bounds]
647 | this->destroy_range(this->begin() + N, this->end());
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2714:31: note: while referencing ‘VLocs’
2714 | SmallVector<VLocTracker, 1> VLocs;
| ^~~~~
35.772 [8/16/745] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/MachineMetadata.cpp.o
36.324 [8/15/746] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
37.638 [8/14/747] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
38.685 [8/13/748] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/MatrixRegisterAliasing.cpp.o
38.713 [8/12/749] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64RegisterInfoTest.cpp.o
38.891 [8/11/750] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AddressingModes.cpp.o
38.913 [8/10/751] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/Immediates.cpp.o
39.107 [8/9/752] Building CXX object unittests/Target/VE/CMakeFiles/VETests.dir/MachineInstrTest.cpp.o
39.599 [8/8/753] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
40.623 [8/7/754] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SVESchedPseudoTest.cpp.o
40.668 [8/6/755] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/InstSizes.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/144947
More information about the llvm-commits
mailing list