[llvm] [SPIR-V] Add SPIRV to LLVM_ALL_TARGETS (reapply) (PR #123654)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 15:04:34 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `.github,llvm` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
133.175 [3463/17/2487] Building AMDGPUGenRegisterBank.inc...
134.397 [3462/17/2488] Building RISCVGenInstrInfo.inc...
136.109 [3461/17/2489] Building RISCVGenGlobalISel.inc...
136.998 [3460/17/2490] Building AMDGPUGenRegisterInfo.inc...
139.646 [3459/17/2491] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstrInfo.cpp.o
140.455 [3458/17/2492] Building RISCVGenDAGISel.inc...
142.522 [3457/17/2493] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInlineAsmLowering.cpp.o
142.680 [3456/17/2494] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAPI.cpp.o
143.638 [3455/17/2495] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVMetadata.cpp.o
145.792 [3454/17/2496] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o 
ccache /usr/bin/clang++-17 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/SPIRV -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include -Wno-deprecated-enum-enum-conversion -Wno-deprecated-declarations -Wno-deprecated-anon-enum-enum-conversion -Wno-ambiguous-reversed-operator -fPIC -fno-semantic-interposition -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 -std=c++20 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o -c /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:615:15: error: invalid operands to binary expression ('std::memory_order' and 'unsigned int')
  615 |     if (Order == Semantics) {
      |         ~~~~~ ^  ~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_pair.h:812:5: note: candidate template ignored: could not match 'pair<_T1, _T2>' against 'std::memory_order'
  812 |     operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:534:5: note: candidate template ignored: could not match 'reverse_iterator<_IteratorL>' against 'std::memory_order'
  534 |     operator==(const reverse_iterator<_IteratorL>& __x,
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:593:5: note: candidate template ignored: could not match 'reverse_iterator<_Iterator>' against 'std::memory_order'
  593 |     operator==(const reverse_iterator<_Iterator>& __x,
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1678:5: note: candidate template ignored: could not match 'move_iterator<_IteratorL>' against 'std::memory_order'
 1678 |     operator==(const move_iterator<_IteratorL>& __x,
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1678:5: note: candidate template ignored: could not match 'move_iterator<_IteratorL>' against 'unsigned int'
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1748:5: note: candidate template ignored: could not match 'move_iterator<_Iterator>' against 'std::memory_order'
 1748 |     operator==(const move_iterator<_Iterator>& __x,
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1905:5: note: candidate template ignored: could not match 'tuple<_TElements...>' against 'std::memory_order'
 1905 |     operator==(const tuple<_TElements...>& __t,
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1905:5: note: candidate template ignored: could not match 'tuple<_TElements...>' against 'unsigned int'
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:737:5: note: candidate template ignored: could not match 'function<_Res (_Args...)>' against 'std::memory_order'
  737 |     operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:737:5: note: candidate template ignored: could not match 'function<_Res (_Args...)>' against 'unsigned int'
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:237:5: note: candidate template ignored: could not match 'allocator<_T1>' against 'std::memory_order'
  237 |     operator==(const allocator<_T1>&, const allocator<_T2>&)
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:237:5: note: candidate template ignored: could not match 'allocator<_T1>' against 'unsigned int'
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unordered_map.h:2143:5: note: candidate template ignored: could not match 'unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'std::memory_order'
 2143 |     operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
      |     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unordered_map.h:2157:5: note: candidate template ignored: could not match 'unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' against 'std::memory_order'
 2157 |     operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
      |     ^

```

</details>

https://github.com/llvm/llvm-project/pull/123654


More information about the llvm-commits mailing list