llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`amdgpu-offload-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while 
building `clang,llvm` at step 4 "annotate".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 
'../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py 
--jobs=32' (failure)
...
[3004/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIPreAllocateWWMRegs.cpp.o
[3005/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVLegalizeImplicitBinding.cpp.o
[3006/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUTargetMachine.cpp.o
[3007/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIShrinkInstructions.cpp.o
[3008/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVRegisterBankInfo.cpp.o
[3009/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAPI.cpp.o
[3010/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIInstrInfo.cpp.o
[3011/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIWholeQuadMode.cpp.o
[3012/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVRegularizer.cpp.o
[3013/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o
FAILED: 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS 
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Target/SPIRV
 
-I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV
 -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include 
-I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/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-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment 
-Wno-misleading-indentation -fdiagnostics-color -ffunction-sections 
-fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions 
-funwind-tables -fno-rtti -MD -MT 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o 
-MF 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o.d
 -o 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o 
-c 
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:253:56:
 error: ‘SPIRVType’ does not name a type
   bool selectWaveReduceProduct(Register ResVReg, const SPIRVType *ResType,
                                                        ^~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2898:26:
 warning: enumeral and non-enumeral type in conditional expression [-Wextra]
         return IsFloatTy ? SPIRV::OpGroupNonUniformFMax : IntOp;
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2913:26:
 warning: enumeral and non-enumeral type in conditional expression [-Wextra]
         return IsFloatTy ? SPIRV::OpGroupNonUniformFMin : IntOp;
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 At global scope:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2930:62:
 error: ‘SPIRVType’ does not name a type
                                                        const SPIRVType 
*ResType,
                                                              ^~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In member function ‘bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2938:28:
 error: no matching function for call to 
‘{anonymous}::SPIRVInstructionSelector::selectWaveReduce(llvm::Register&, const 
int*&, llvm::MachineInstr&, bool, 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const::<lambda(llvm::Register, bool)>) const’
                           });
                            ^
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:240:8:
 note: candidate: ‘template<class PickOpcodeFn> bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduce(llvm::Register, 
llvm::SPIRVTypeInst, llvm::MachineInstr&, bool, PickOpcodeFn&&) const’
   bool selectWaveReduce(Register ResVReg, SPIRVTypeInst ResType,
        ^~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:240:8:
 note:   template argument deduction/substitution failed:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2932:36:
 note:   cannot convert ‘ResType’ (type ‘const int*’) to type 
‘llvm::SPIRVTypeInst’
   return selectWaveReduce(ResVReg, ResType, I, /*IsUnsigned*/ false,
                                    ^~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In member function ‘bool 
{anonymous}::SPIRVInstructionSelector::selectIntrinsic(llvm::Register, 
llvm::SPIRVTypeInst, llvm::MachineInstr&) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:4122:55:
 error: no matching function for call to 
‘{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register&,
 llvm::SPIRVTypeInst&, llvm::MachineInstr&) const’
     return selectWaveReduceProduct(ResVReg, ResType, I);
                                                       ^
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2929:6:
 note: candidate: ‘bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const’
 bool SPIRVInstructionSelector::selectWaveReduceProduct(Register ResVReg,
      ^~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2929:6:
 note:   no known conversion for argument 2 from ‘llvm::SPIRVTypeInst’ to 
‘const int*’
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 At global scope:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2929:6:
 warning: ‘bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const’ defined but not used [-Wunused-function]
[3014/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstrInfo.cpp.o
Step 7 (build cmake config) failure: build cmake config (failure)
...
[3004/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIPreAllocateWWMRegs.cpp.o
[3005/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVLegalizeImplicitBinding.cpp.o
[3006/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUTargetMachine.cpp.o
[3007/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIShrinkInstructions.cpp.o
[3008/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVRegisterBankInfo.cpp.o
[3009/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAPI.cpp.o
[3010/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIInstrInfo.cpp.o
[3011/8499] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIWholeQuadMode.cpp.o
[3012/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVRegularizer.cpp.o
[3013/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o
FAILED: 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS 
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Target/SPIRV
 
-I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV
 -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include 
-I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/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-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment 
-Wno-misleading-indentation -fdiagnostics-color -ffunction-sections 
-fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions 
-funwind-tables -fno-rtti -MD -MT 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o 
-MF 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o.d
 -o 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstructionSelector.cpp.o 
-c 
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:253:56:
 error: ‘SPIRVType’ does not name a type
   bool selectWaveReduceProduct(Register ResVReg, const SPIRVType *ResType,
                                                        ^~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2898:26:
 warning: enumeral and non-enumeral type in conditional expression [-Wextra]
         return IsFloatTy ? SPIRV::OpGroupNonUniformFMax : IntOp;
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2913:26:
 warning: enumeral and non-enumeral type in conditional expression [-Wextra]
         return IsFloatTy ? SPIRV::OpGroupNonUniformFMin : IntOp;
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 At global scope:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2930:62:
 error: ‘SPIRVType’ does not name a type
                                                        const SPIRVType 
*ResType,
                                                              ^~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In member function ‘bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2938:28:
 error: no matching function for call to 
‘{anonymous}::SPIRVInstructionSelector::selectWaveReduce(llvm::Register&, const 
int*&, llvm::MachineInstr&, bool, 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const::<lambda(llvm::Register, bool)>) const’
                           });
                            ^
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:240:8:
 note: candidate: ‘template<class PickOpcodeFn> bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduce(llvm::Register, 
llvm::SPIRVTypeInst, llvm::MachineInstr&, bool, PickOpcodeFn&&) const’
   bool selectWaveReduce(Register ResVReg, SPIRVTypeInst ResType,
        ^~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:240:8:
 note:   template argument deduction/substitution failed:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2932:36:
 note:   cannot convert ‘ResType’ (type ‘const int*’) to type 
‘llvm::SPIRVTypeInst’
   return selectWaveReduce(ResVReg, ResType, I, /*IsUnsigned*/ false,
                                    ^~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In member function ‘bool 
{anonymous}::SPIRVInstructionSelector::selectIntrinsic(llvm::Register, 
llvm::SPIRVTypeInst, llvm::MachineInstr&) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:4122:55:
 error: no matching function for call to 
‘{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register&,
 llvm::SPIRVTypeInst&, llvm::MachineInstr&) const’
     return selectWaveReduceProduct(ResVReg, ResType, I);
                                                       ^
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2929:6:
 note: candidate: ‘bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const’
 bool SPIRVInstructionSelector::selectWaveReduceProduct(Register ResVReg,
      ^~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2929:6:
 note:   no known conversion for argument 2 from ‘llvm::SPIRVTypeInst’ to 
‘const int*’
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 At global scope:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2929:6:
 warning: ‘bool 
{anonymous}::SPIRVInstructionSelector::selectWaveReduceProduct(llvm::Register, 
const int*, llvm::MachineInstr&) const’ defined but not used [-Wunused-function]
[3014/8499] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstrInfo.cpp.o

```

</details>

https://github.com/llvm/llvm-project/pull/165109
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to