llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang,llvm` at step 4 "annotate".

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

<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 
--cmake-file=AMDGPULibcBot.cmake' (failure)
...
[2559/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVBaseInfo.cpp.o
[2560/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCAsmInfo.cpp.o
[2561/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCTargetDesc.cpp.o
[2562/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVTargetStreamer.cpp.o
[2563/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVAsmBackend.cpp.o
[2564/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCCodeEmitter.cpp.o
[2565/4922] Building AMDGPUGenSDNodeInfo.inc...
[2566/4922] Building CXX object 
lib/Target/SPIRV/TargetInfo/CMakeFiles/LLVMSPIRVInfo.dir/SPIRVTargetInfo.cpp.o
[2567/4922] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVISelLowering.cpp.o
[2568/4922] 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/openmp-offload-libc-amdgpu-runtime/build/lib/Target/SPIRV
 
-I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV
 -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include 
-I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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-redundant-move -Wno-pessimizing-move -Wno-array-bounds 
-Wno-stringop-overread -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 -fPIC -UNDEBUG -fno-exceptions -funwind-tables 
-fno-rtti -std=c++17 -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/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:253:56:
 error: ‘SPIRVType’ does not name a type
  253 |   bool selectWaveReduceProduct(Register ResVReg, const SPIRVType 
*ResType,
      |                                                        ^~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2898:26:
 warning: enumerated and non-enumerated type in conditional expression [-Wextra]
 2898 |         return IsFloatTy ? SPIRV::OpGroupNonUniformFMax : IntOp;
      |                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2913:26:
 warning: enumerated and non-enumerated type in conditional expression [-Wextra]
 2913 |         return IsFloatTy ? SPIRV::OpGroupNonUniformFMin : IntOp;
      |                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 At global scope:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2930:62:
 error: ‘SPIRVType’ does not name a type
 2930 |                                                        const SPIRVType 
*ResType,
      |                                                              ^~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2932:26:
 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’
 2932 |   return selectWaveReduce(ResVReg, ResType, I, /*IsUnsigned*/ false,
      |          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2933 |                           [&](Register InputRegister, bool IsUnsigned) {
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2934 |                             bool IsFloatTy = GR.isScalarOrVectorOfType(
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2935 |                                 InputRegister, SPIRV::OpTypeFloat);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2936 |                             return IsFloatTy ? 
SPIRV::OpGroupNonUniformFMul
      |                             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2937 |                                              : 
SPIRV::OpGroupNonUniformIMul;
      |                                              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2938 |                           });
      |                           ~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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’
  240 |   bool selectWaveReduce(Register ResVReg, SPIRVTypeInst ResType,
      |        ^~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:240:8:
 note:   template argument deduction/substitution failed:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2932:36:
 note:   cannot convert ‘ResType’ (type ‘const int*’) to type 
‘llvm::SPIRVTypeInst’
 2932 |   return selectWaveReduce(ResVReg, ResType, I, /*IsUnsigned*/ false,
Step 7 (build cmake config) failure: build cmake config (failure)
...
[2559/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVBaseInfo.cpp.o
[2560/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCAsmInfo.cpp.o
[2561/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCTargetDesc.cpp.o
[2562/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVTargetStreamer.cpp.o
[2563/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVAsmBackend.cpp.o
[2564/4922] Building CXX object 
lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCCodeEmitter.cpp.o
[2565/4922] Building AMDGPUGenSDNodeInfo.inc...
[2566/4922] Building CXX object 
lib/Target/SPIRV/TargetInfo/CMakeFiles/LLVMSPIRVInfo.dir/SPIRVTargetInfo.cpp.o
[2567/4922] Building CXX object 
lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVISelLowering.cpp.o
[2568/4922] 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/openmp-offload-libc-amdgpu-runtime/build/lib/Target/SPIRV
 
-I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV
 -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include 
-I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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-redundant-move -Wno-pessimizing-move -Wno-array-bounds 
-Wno-stringop-overread -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 -fPIC -UNDEBUG -fno-exceptions -funwind-tables 
-fno-rtti -std=c++17 -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/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:253:56:
 error: ‘SPIRVType’ does not name a type
  253 |   bool selectWaveReduceProduct(Register ResVReg, const SPIRVType 
*ResType,
      |                                                        ^~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2898:26:
 warning: enumerated and non-enumerated type in conditional expression [-Wextra]
 2898 |         return IsFloatTy ? SPIRV::OpGroupNonUniformFMax : IntOp;
      |                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 In lambda function:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2913:26:
 warning: enumerated and non-enumerated type in conditional expression [-Wextra]
 2913 |         return IsFloatTy ? SPIRV::OpGroupNonUniformFMin : IntOp;
      |                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:
 At global scope:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2930:62:
 error: ‘SPIRVType’ does not name a type
 2930 |                                                        const SPIRVType 
*ResType,
      |                                                              ^~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2932:26:
 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’
 2932 |   return selectWaveReduce(ResVReg, ResType, I, /*IsUnsigned*/ false,
      |          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2933 |                           [&](Register InputRegister, bool IsUnsigned) {
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2934 |                             bool IsFloatTy = GR.isScalarOrVectorOfType(
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2935 |                                 InputRegister, SPIRV::OpTypeFloat);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2936 |                             return IsFloatTy ? 
SPIRV::OpGroupNonUniformFMul
      |                             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2937 |                                              : 
SPIRV::OpGroupNonUniformIMul;
      |                                              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2938 |                           });
      |                           ~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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’
  240 |   bool selectWaveReduce(Register ResVReg, SPIRVTypeInst ResType,
      |        ^~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:240:8:
 note:   template argument deduction/substitution failed:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp:2932:36:
 note:   cannot convert ‘ResType’ (type ‘const int*’) to type 
‘llvm::SPIRVTypeInst’
 2932 |   return selectWaveReduce(ResVReg, ResType, I, /*IsUnsigned*/ false,

```

</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