[llvm] [AMDGPU] Implement vop3p complex pattern optmization for gisel (PR #130234)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 00:37:01 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/17570
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
45.570 [40/9/4074] Linking CXX executable bin/llvm-objdump
45.572 [39/9/4075] Generating ../../bin/llvm-otool
45.578 [39/8/4076] Linking CXX executable bin/llvm-nm
45.600 [39/7/4077] Linking CXX executable bin/llvm-debuginfo-analyzer
45.642 [39/6/4078] Linking CXX executable bin/llvm-cfi-verify
45.682 [39/5/4079] Linking CXX executable bin/llvm-profgen
45.914 [39/4/4080] Linking CXX executable bin/llvm-jitlink
55.068 [39/3/4081] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUSubtarget.cpp.o
55.472 [39/2/4082] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/GCNSubtarget.cpp.o
60.398 [39/1/4083] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUInstructionSelector.cpp.o
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUInstructionSelector.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DEXPENSIVE_CHECKS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/lib/Target/AMDGPU -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include -U_GLIBCXX_DEBUG -fPIC -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 -fvisibility=hidden -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUInstructionSelector.cpp.o -MF lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUInstructionSelector.cpp.o.d -o lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUInstructionSelector.cpp.o -c /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:4554:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:4644:39: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare]
(Stat >= SrcStatus::NEG_START || Stat <= SrcStatus::NEG_END)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:4669:10: warning: local variable 'Statlist' will be copied despite being returned by name [-Wreturn-std-move]
return Statlist;
^~~~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:4669:10: note: call 'std::move' explicitly to avoid copying
return Statlist;
^~~~~~~~
std::move(Statlist)
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:4669:10: error: no viable conversion from returned value of type 'SmallVector<[...], 4>' to function return type 'SmallVector<[...], (default) CalculateSmallVectorDefaultInlinedElements<T>::value aka 3>'
return Statlist;
^~~~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1226:3: note: candidate constructor not viable: no known conversion from 'SmallVector<std::pair<const MachineOperand *, SrcStatus>, 4>' to 'std::initializer_list<pair<const MachineOperand *, SrcStatus>>' for 1st argument
SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1236:3: note: candidate constructor not viable: no known conversion from 'SmallVector<std::pair<const MachineOperand *, SrcStatus>, 4>' to 'const llvm::SmallVector<std::pair<const llvm::MachineOperand *, SrcStatus>, 3> &' for 1st argument
SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1246:3: note: candidate constructor not viable: no known conversion from 'SmallVector<std::pair<const MachineOperand *, SrcStatus>, 4>' to 'llvm::SmallVector<std::pair<const llvm::MachineOperand *, SrcStatus>, 3> &&' for 1st argument
SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1251:3: note: candidate constructor not viable: no known conversion from 'SmallVector<std::pair<const MachineOperand *, SrcStatus>, 4>' to 'SmallVectorImpl<std::pair<const llvm::MachineOperand *, SrcStatus>> &&' for 1st argument
SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1205:12: note: explicit constructor is not a candidate
explicit SmallVector(size_t Size)
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1221:12: note: explicit constructor is not a candidate
explicit SmallVector(const iterator_range<RangeTy> &R)
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1232:12: note: explicit constructor is not a candidate
explicit SmallVector(ArrayRef<U> A) : SmallVectorImpl<T>(N) {
^
```
</details>
https://github.com/llvm/llvm-project/pull/130234
More information about the llvm-commits
mailing list