[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:47:00 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/19501
<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)
...
12.707 [10/62/700] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
12.934 [10/61/701] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/GISelAliasTest.cpp.o
12.934 [10/60/702] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
13.115 [10/59/703] Building CXX object unittests/Target/LoongArch/CMakeFiles/LoongArchTests.dir/InstSizes.cpp.o
13.459 [9/59/704] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/GISelMITest.cpp.o
13.517 [9/58/705] Linking CXX executable unittests/Transforms/IPO/IPOTests
13.985 [9/57/706] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/InstructionSelectTest.cpp.o
14.003 [9/56/707] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/SchedBoundary.cpp.o
14.083 [9/55/708] Linking CXX executable unittests/Target/X86/X86Tests
14.204 [9/54/709] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o
FAILED: unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SelectionDAGTest.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/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/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/unittests/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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 -Wctad-maybe-unsupported -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 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp: In member function ‘virtual void llvm::AArch64SelectionDAGTest::SetUp()’:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp:65:14: 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)’
65 | DAG->init(*MF, ORE, nullptr, nullptr, nullptr, nullptr, nullptr, MMI,
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | nullptr);
| ~~~~~~~~
In file included from /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp:13:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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,
| ^~~~
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include/llvm/CodeGen/SelectionDAG.h:472:17: note: candidate expects 10 arguments, 9 provided
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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,
| ^~~~
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include/llvm/CodeGen/SelectionDAG.h:478:8: note: candidate expects 10 arguments, 9 provided
14.280 [9/53/710] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/LegalizerTest.cpp.o
14.319 [9/52/711] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/CCStateTest.cpp.o
14.336 [9/51/712] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/X86MCInstLowerTest.cpp.o
14.721 [9/50/713] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/SelectionDAGAddressAnalysisTest.cpp.o
15.087 [9/49/714] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/ConstantFoldingTest.cpp.o
15.214 [9/48/715] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/MachineIRBuilderTest.cpp.o
15.302 [9/47/716] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
15.517 [9/46/717] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/LegalizerInfoTest.cpp.o
15.622 [9/45/718] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/KnownFPClassTest.cpp.o
15.624 [9/44/719] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
15.626 [9/43/720] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/RegAllocScoreTest.cpp.o
15.642 [9/42/721] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MachineOperandTest.cpp.o
15.973 [9/41/722] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/MachineMetadata.cpp.o
16.045 [9/40/723] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/KnownBitsVectorTest.cpp.o
16.088 [9/39/724] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
16.290 [9/38/725] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MLRegAllocDevelopmentFeatures.cpp.o
16.480 [9/37/726] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MachineBasicBlockTest.cpp.o
16.578 [9/36/727] Linking CXX executable unittests/Transforms/Utils/UtilsTests
16.728 [9/35/728] Building CXX object unittests/Target/VE/CMakeFiles/VETests.dir/MachineInstrTest.cpp.o
16.836 [9/34/729] Linking CXX executable unittests/MI/MITests
16.881 [9/33/730] Building CXX object unittests/CodeGen/GlobalISel/CMakeFiles/GlobalISelTests.dir/CSETest.cpp.o
17.041 [9/32/731] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
```
</details>
https://github.com/llvm/llvm-project/pull/144947
More information about the llvm-commits
mailing list