github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the
details.
<details>
<summary>[code=1]
lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/NewGVN.cpp.obj</summary>
```
FAILED: [code=1]
lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/NewGVN.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\Transforms\Scalar
-IC:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include -imsvc"C:\BuildTools\DIA
SDK\include" /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro
/bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR-
/showIncludes
/Folib\Transforms\Scalar\CMakeFiles\LLVMScalarOpts.dir\NewGVN.cpp.obj
/Fdlib\Transforms\Scalar\CMakeFiles\LLVMScalarOpts.dir\LLVMScalarOpts.pdb -c --
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp
In file included from
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp:54:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/Transforms/Scalar/NewGVN.h:17:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/IR/PassManager.h:40:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h:27:
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/STLExtras.h(446,31):
error: no matching function for call to object of type '(lambda at
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp:3216:7)'
446 | while (this->I != End && !Pred(*this->I))
| ^~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/STLExtras.h(458,5):
note: in instantiation of member function
'llvm::filter_iterator_base<llvm::DenseMapIterator<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *, llvm::DenseMapInfo<const
llvm::MemoryAccess *>, llvm::detail::DenseMapPair<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *>, true>, (lambda at
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp:3216:7),
std::forward_iterator_tag>::findNextValid' requested here
458 | findNextValid();
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/STLExtras.h(491,9):
note: in instantiation of member function
'llvm::filter_iterator_base<llvm::DenseMapIterator<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *, llvm::DenseMapInfo<const
llvm::MemoryAccess *>, llvm::detail::DenseMapPair<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *>, true>, (lambda at
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp:3216:7),
std::forward_iterator_tag>::filter_iterator_base' requested here
491 | : filter_iterator_impl::filter_iterator_base(Begin, End, Pred) {}
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/STLExtras.h(556,21):
note: in instantiation of member function
'llvm::filter_iterator_impl<llvm::DenseMapIterator<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *, llvm::DenseMapInfo<const
llvm::MemoryAccess *>, llvm::detail::DenseMapPair<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *>, true>, (lambda at
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp:3216:7)>::filter_iterator_impl'
requested here
556 | return make_range(FilterIteratorT(B, E, Pred), FilterIteratorT(E, E,
Pred));
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp(3239,19):
note: in instantiation of function template specialization
'llvm::make_filter_range<const llvm::DenseMap<const llvm::MemoryAccess *,
(anonymous namespace)::CongruenceClass *> &, (lambda at
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp:3216:7)>'
requested here
3239 | auto Filtered = make_filter_range(MemoryAccessToClass,
ReachableAccessPred);
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Scalar\NewGVN.cpp(3216,7):
note: candidate function not viable: no known conversion from 'value_type'
(aka 'const llvm::detail::DenseMapPair<const llvm::MemoryAccess *, (anonymous
namespace)::CongruenceClass *>') to 'const std::pair<const MemoryAccess *,
CongruenceClass *>' for 1st argument
3216 | [&](const std::pair<const MemoryAccess *, CongruenceClass *> Pair)
{
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
<details>
<summary>[code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPURewriteOutArguments.cpp.obj</summary>
```
FAILED: [code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPURewriteOutArguments.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include -imsvc"C:\BuildTools\DIA
SDK\include" /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro
/bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR-
/showIncludes
/Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPURewriteOutArguments.cpp.obj
/Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb -c
--
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\AMDGPURewriteOutArguments.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\AMDGPURewriteOutArguments.cpp(381,49):
error: non-const lvalue reference to type 'std::pair<ReturnInst *,
ReplacementVec>' (aka 'std::pair<ReturnInst *, SmallVector<std::pair<Argument
*, Value *>, 4>>') cannot bind to a value of unrelated type 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::ReturnInst *,
llvm::SmallVector<std::pair<llvm::Argument *, llvm::Value *>, 4>>')
381 | for (std::pair<ReturnInst *, ReplacementVec> &Replacement :
Replacements) {
| ^ ~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<llvm::ReturnInst *,
llvm::SmallVector<std::pair<llvm::Argument *, llvm::Value *>, 4>,
llvm::DenseMapInfo<llvm::ReturnInst *, void>,
llvm::detail::DenseMapPair<llvm::ReturnInst *,
llvm::SmallVector<std::pair<llvm::Argument *, llvm::Value *>, 4>>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
1 error generated.
```
</details>
<details>
<summary>[code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/GCNHazardRecognizer.cpp.obj</summary>
```
FAILED: [code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/GCNHazardRecognizer.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include -imsvc"C:\BuildTools\DIA
SDK\include" /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro
/bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR-
/showIncludes
/Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\GCNHazardRecognizer.cpp.obj
/Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb -c
--
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNHazardRecognizer.cpp
In file included from
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNHazardRecognizer.cpp:13:
In file included from
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNHazardRecognizer.h:16:
In file included from
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\AMDGPUCoExecInfo.h:27:
In file included from
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\SIDefines.h:13:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/MC/MCInst.h:18:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/ArrayRef.h:12:
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(204,32):
error: no matching function for call to 'hash_value'
204 | return static_cast<size_t>(hash_value(value));
| ^~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(227,17):
note: in instantiation of function template specialization
'llvm::hashing::detail::get_hashable_data<llvm::detail::DenseMapPair<llvm::Register,
int>>' requested here
227 | auto data = get_hashable_data(*first);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(288,35):
note: in instantiation of function template specialization
'llvm::hashing::detail::hash_combine_range_impl<llvm::DenseMapIterator<llvm::Register,
int, llvm::DenseMapInfo<Register>, llvm::detail::DenseMapPair<llvm::Register,
int>, true>>' requested here
288 | return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(293,10):
note: in instantiation of function template specialization
'llvm::hash_combine_range<llvm::DenseMapIterator<llvm::Register, int,
llvm::DenseMapInfo<Register>, llvm::detail::DenseMapPair<llvm::Register, int>,
true>>' requested here
293 | return hash_combine_range(adl_begin(R), adl_end(R));
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNHazardRecognizer.cpp(2236,27):
note: in instantiation of function template specialization
'llvm::hash_combine_range<const llvm::SmallDenseMap<llvm::Register, int> &>'
requested here
2236 | hash_combine_range(State.DefPos));
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h(948,34):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'StringRef' for 1st argument
948 | [[nodiscard]] LLVM_ABI hash_code hash_value(StringRef S);
| ^ ~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/MC/MCRegister.h(120,18):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const MCRegister' for 1st
argument
120 | inline hash_code hash_value(const MCRegister &Reg) {
| ^ ~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/APInt.h(2516,20):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const APInt' for 1st
argument
2516 | LLVM_ABI hash_code hash_value(const APInt &Arg);
| ^ ~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/APFloat.h(855,20):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const IEEEFloat' for 1st
argument
855 | LLVM_ABI hash_code hash_value(const IEEEFloat &Arg);
| ^ ~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/APFloat.h(969,20):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const DoubleAPFloat' for
1st argument
969 | LLVM_ABI hash_code hash_value(const DoubleAPFloat &Arg);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/APFloat.h(1681,20):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const APFloat' for 1st
argument
1681 | LLVM_ABI hash_code hash_value(const APFloat &Arg);
| ^ ~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/CodeGen/MachineOperand.h(1057,20):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const MachineOperand' for
1st argument
1057 | LLVM_ABI hash_code hash_value(const MachineOperand &MO);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/CodeGen/RegisterBankInfo.h(800,1):
note: candidate function not viable: no known conversion from 'const
llvm::detail::DenseMapPair<llvm::Register, int>' to 'const
RegisterBankInfo::PartialMapping' for 1st argument
800 | hash_value(const RegisterBankInfo::PartialMapping &PartMapping);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(112,60):
note: candidate template ignored: requirement
'llvm::is_integral_or_enum<llvm::detail::DenseMapPair<llvm::Register,
int>>::value' was not satisfied [with T =
llvm::detail::DenseMapPair<llvm::Register, int>]
112 | std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T
value);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(117,33):
note: candidate template ignored: could not match 'const T *' against
'llvm::detail::DenseMapPair<llvm::Register, int>'
117 | template <typename T> hash_code hash_value(const T *ptr);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(121,11):
note: candidate template ignored: could not match 'std::pair' against
'llvm::detail::DenseMapPair'
121 | hash_code hash_value(const std::pair<T, U> &arg);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(125,11):
note: candidate template ignored: could not match 'std::tuple' against
'llvm::detail::DenseMapPair'
125 | hash_code hash_value(const std::tuple<Ts...> &arg);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(129,11):
note: candidate template ignored: could not match 'std::basic_string' against
'llvm::detail::DenseMapPair'
129 | hash_code hash_value(const std::basic_string<T> &arg);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h(132,33):
note: candidate template ignored: could not match 'std::optional' against
'llvm::detail::DenseMapPair'
132 | template <typename T> hash_code hash_value(const std::optional<T> &arg);
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/ArrayRef.h(551,33):
note: candidate template ignored: could not match 'ArrayRef' against
'llvm::detail::DenseMapPair'
551 | template <typename T> hash_code hash_value(ArrayRef<T> S) {
| ^
1 error generated.
```
</details>
<details>
<summary>[code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/GCNSchedStrategy.cpp.obj</summary>
```
FAILED: [code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/GCNSchedStrategy.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include -imsvc"C:\BuildTools\DIA
SDK\include" /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro
/bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR-
/showIncludes
/Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\GCNSchedStrategy.cpp.obj
/Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb -c
--
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNSchedStrategy.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNSchedStrategy.cpp(2926,16):
error: no viable conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned int, llvm::DenseMap<llvm::Register,
llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>') to 'RUBType' (aka
'std::pair<unsigned int, DenseMap<Register, SmallPtrSet<MachineOperand *, 8>>>')
2926 | for (RUBType RUBlockEntry : ReachingUseTracker) {
| ^ ~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(277,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned int, llvm::DenseMap<llvm::Register,
llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>') to 'const pair<unsigned int,
llvm::DenseMap<llvm::Register, llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>
&' for 1st argument
277 | pair(const pair&) = default;
| ^ ~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(278,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned int, llvm::DenseMap<llvm::Register,
llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>') to 'pair<unsigned int,
llvm::DenseMap<llvm::Register, llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>
&&' for 1st argument
278 | pair(pair&&) = default;
| ^ ~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(293,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
293 | pair(const pair<_Other1, _Other2>& _Right)
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(301,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
301 | pair(pair<_Other1, _Other2>&& _Right) noexcept(
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(72,12):
note: explicit conversion function is not a candidate
72 | explicit operator std::pair<KeyT, ValueT>() const { return {first,
second}; }
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<unsigned int, llvm::DenseMap<llvm::Register,
llvm::SmallPtrSet<llvm::MachineOperand *, 8>, llvm::DenseMapInfo<Register>,
llvm::detail::DenseMapPair<llvm::Register,
llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>, llvm::DenseMapInfo<unsigned
int, void>, llvm::detail::DenseMapPair<unsigned int,
llvm::DenseMap<llvm::Register, llvm::SmallPtrSet<llvm::MachineOperand *, 8>,
llvm::DenseMapInfo<Register>, llvm::detail::DenseMapPair<llvm::Register,
llvm::SmallPtrSet<llvm::MachineOperand *, 8>>>>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\GCNSchedStrategy.cpp(2973,38):
error: no viable conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::Register, llvm::Register>') to
'std::pair<Register, Register>'
2973 | for (std::pair<Register, Register> NewDef : RedefMap) {
| ^ ~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(277,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::Register, llvm::Register>') to 'const
pair<llvm::Register, llvm::Register> &' for 1st argument
277 | pair(const pair&) = default;
| ^ ~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(278,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::Register, llvm::Register>') to
'pair<llvm::Register, llvm::Register> &&' for 1st argument
278 | pair(pair&&) = default;
| ^ ~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(293,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
293 | pair(const pair<_Other1, _Other2>& _Right)
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(301,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
301 | pair(pair<_Other1, _Other2>&& _Right) noexcept(
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(72,12):
note: explicit conversion function is not a candidate
72 | explicit operator std::pair<KeyT, ValueT>() const { return {first,
second}; }
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<llvm::Register, llvm::Register, llvm::DenseMapInfo<Register>,
llvm::detail::DenseMapPair<llvm::Register, llvm::Register>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIInstrInfo.cpp.obj</summary>
```
FAILED: [code=1]
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIInstrInfo.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include -imsvc"C:\BuildTools\DIA
SDK\include" /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro
/bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR-
/showIncludes
/Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\SIInstrInfo.cpp.obj
/Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb -c
-- C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\SIInstrInfo.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\SIInstrInfo.cpp(8179,52):
error: non-const lvalue reference to type 'std::pair<MachineInstr *,
V2PhysSCopyInfo>' cannot bind to a value of unrelated type 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::MachineInstr *, llvm::V2PhysSCopyInfo>')
8179 | for (std::pair<MachineInstr *, V2PhysSCopyInfo> &Entry : WaterFalls) {
| ^ ~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<llvm::MachineInstr *, llvm::V2PhysSCopyInfo,
llvm::DenseMapInfo<llvm::MachineInstr *, void>,
llvm::detail::DenseMapPair<llvm::MachineInstr *, llvm::V2PhysSCopyInfo>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\Target\AMDGPU\SIInstrInfo.cpp(8185,40):
error: no viable conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::MachineInstr *, bool>') to
'std::pair<MachineInstr *, bool>'
8185 | for (std::pair<MachineInstr *, bool> Entry : V2SPhyCopiesToErase)
| ^ ~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(277,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::MachineInstr *, bool>') to 'const
pair<llvm::MachineInstr *, bool> &' for 1st argument
277 | pair(const pair&) = default;
| ^ ~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(278,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::MachineInstr *, bool>') to
'pair<llvm::MachineInstr *, bool> &&' for 1st argument
278 | pair(pair&&) = default;
| ^ ~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(293,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
293 | pair(const pair<_Other1, _Other2>& _Right)
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(301,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
301 | pair(pair<_Other1, _Other2>&& _Right) noexcept(
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(72,12):
note: explicit conversion function is not a candidate
72 | explicit operator std::pair<KeyT, ValueT>() const { return {first,
second}; }
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<llvm::MachineInstr *, bool,
llvm::DenseMapInfo<llvm::MachineInstr *, void>,
llvm::detail::DenseMapPair<llvm::MachineInstr *, bool>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1]
lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonLoopIdiomRecognition.cpp.obj</summary>
```
FAILED: [code=1]
lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonLoopIdiomRecognition.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\Target\Hexagon
-IC:\_work\llvm-project\llvm-project\llvm\lib\Target\Hexagon
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include -imsvc"C:\BuildTools\DIA
SDK\include" /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro
/bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR-
/showIncludes
/Folib\Target\Hexagon\CMakeFiles\LLVMHexagonCodeGen.dir\HexagonLoopIdiomRecognition.cpp.obj
/Fdlib\Target\Hexagon\CMakeFiles\LLVMHexagonCodeGen.dir\LLVMHexagonCodeGen.pdb
-c --
C:\_work\llvm-project\llvm-project\llvm\lib\Target\Hexagon\HexagonLoopIdiomRecognition.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\Target\Hexagon\HexagonLoopIdiomRecognition.cpp(341,33):
error: no viable conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::Value *, llvm::Value *>') to 'std::pair<Value
*, Value *>'
341 | for (std::pair<Value*,Value*> P : M) {
| ^ ~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(277,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::Value *, llvm::Value *>') to 'const
pair<llvm::Value *, llvm::Value *> &' for 1st argument
277 | pair(const pair&) = default;
| ^ ~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(278,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<llvm::Value *, llvm::Value *>') to
'pair<llvm::Value *, llvm::Value *> &&' for 1st argument
278 | pair(pair&&) = default;
| ^ ~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(293,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
293 | pair(const pair<_Other1, _Other2>& _Right)
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(301,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
301 | pair(pair<_Other1, _Other2>&& _Right) noexcept(
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(72,12):
note: explicit conversion function is not a candidate
72 | explicit operator std::pair<KeyT, ValueT>() const { return {first,
second}; }
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<llvm::Value *, llvm::Value *, llvm::DenseMapInfo<llvm::Value
*, void>, llvm::detail::DenseMapPair<llvm::Value *, llvm::Value *>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
1 error generated.
```
</details>
<details>
<summary>[code=1] lib/MCA/CMakeFiles/LLVMMCA.dir/InstrBuilder.cpp.obj</summary>
```
FAILED: [code=1] lib/MCA/CMakeFiles/LLVMMCA.dir/InstrBuilder.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\MCA
-IC:\_work\llvm-project\llvm-project\llvm\lib\MCA
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS
/Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive-
-Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2
-std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes
/Folib\MCA\CMakeFiles\LLVMMCA.dir\InstrBuilder.cpp.obj
/Fdlib\MCA\CMakeFiles\LLVMMCA.dir\LLVMMCA.pdb -c --
C:\_work\llvm-project\llvm-project\llvm\lib\MCA\InstrBuilder.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\MCA\InstrBuilder.cpp(188,45):
error: no viable conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned long long, unsigned int>') to 'const
std::pair<uint64_t, unsigned int>' (aka 'const std::pair<unsigned long long,
unsigned int>')
188 | for (const std::pair<uint64_t, unsigned> &SR : SuperResources) {
| ^ ~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(277,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned long long, unsigned int>') to 'const
pair<unsigned long long, unsigned int> &' for 1st argument
277 | pair(const pair&) = default;
| ^ ~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(278,5): note: candidate
constructor not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned long long, unsigned int>') to
'pair<unsigned long long, unsigned int> &&' for 1st argument
278 | pair(pair&&) = default;
| ^ ~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(293,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
293 | pair(const pair<_Other1, _Other2>& _Right)
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\utility(301,9): note: candidate
template ignored: could not match 'pair' against 'llvm::detail::DenseMapPair'
301 | pair(pair<_Other1, _Other2>&& _Right) noexcept(
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(72,12):
note: explicit conversion function is not a candidate
72 | explicit operator std::pair<KeyT, ValueT>() const { return {first,
second}; }
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h(167,33):
note: selected 'begin' function with iterator type 'iterator' (aka
'DenseMapIterator<unsigned long long, unsigned int, llvm::DenseMapInfo<unsigned
long long, void>, llvm::detail::DenseMapPair<unsigned long long, unsigned
int>>')
167 | [[nodiscard]] inline iterator begin() {
| ^
1 error generated.
```
</details>
<details>
<summary>[code=1] lib/XRay/CMakeFiles/LLVMXRay.dir/Profile.cpp.obj</summary>
```
FAILED: [code=1] lib/XRay/CMakeFiles/LLVMXRay.dir/Profile.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\lib\XRay
-IC:\_work\llvm-project\llvm-project\llvm\lib\XRay
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS
/Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive-
-Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2
-std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes
/Folib\XRay\CMakeFiles\LLVMXRay.dir\Profile.cpp.obj
/Fdlib\XRay\CMakeFiles\LLVMXRay.dir\LLVMXRay.pdb -c --
C:\_work\llvm-project\llvm-project\llvm\lib\XRay\Profile.cpp
In file included from
C:\_work\llvm-project\llvm-project\llvm\lib\XRay\Profile.cpp:13:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/XRay/Profile.h:16:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMap.h:24:
In file included from
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/ADL.h:13:
In file included from
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\iterator:11:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\xutility(4852,20): error: no
viable overloaded '='
4852 | *_Dest = *_First;
| ~~~~~~ ^ ~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\xutility(4865,36): note: in
instantiation of function template specialization
'std::_Copy_unchecked<llvm::DenseMapIterator<unsigned int,
llvm::xray::Profile::Data>, llvm::DenseMapIterator<unsigned int,
llvm::xray::Profile::Data>,
std::back_insert_iterator<std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>>>' requested here
4865 | _STD _Seek_wrapped(_Dest, _STD _Copy_unchecked(_UFirst, _ULast, _STD
move(_UDest)));
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/STLExtras.h(1886,15):
note: in instantiation of function template specialization
'std::copy<llvm::DenseMapIterator<unsigned int, llvm::xray::Profile::Data>,
std::back_insert_iterator<std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>>>' requested here
1886 | return std::copy(adl_begin(Range), adl_end(Range), Out);
| ^
C:\_work\llvm-project\llvm-project\llvm\lib\XRay\Profile.cpp(223,5): note: in
instantiation of function template specialization
'llvm::copy<llvm::DenseMap<unsigned int, llvm::xray::Profile::Data> &,
std::back_insert_iterator<std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>>>' requested here
223 | copy(*IndexedThreadBlock.second, std::back_inserter(PathAndData));
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\iterator(40,40): note:
candidate function not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned int, llvm::xray::Profile::Data>') to
'const typename std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>::value_type' (aka 'const std::pair<unsigned int,
llvm::xray::Profile::Data>') for 1st argument
40 | _CONSTEXPR20 back_insert_iterator& operator=(const typename
_Container::value_type& _Val) {
| ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\iterator(45,40): note:
candidate function not viable: no known conversion from 'value_type' (aka
'llvm::detail::DenseMapPair<unsigned int, llvm::xray::Profile::Data>') to
'typename std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>::value_type' (aka 'std::pair<unsigned int,
llvm::xray::Profile::Data>') for 1st argument
45 | _CONSTEXPR20 back_insert_iterator& operator=(typename
_Container::value_type&& _Val) {
| ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\iterator(22,7): note: candidate
function (the implicit copy assignment operator) not viable: no known
conversion from 'value_type' (aka 'llvm::detail::DenseMapPair<unsigned int,
llvm::xray::Profile::Data>') to 'const
back_insert_iterator<std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>>' for 1st argument
22 | class back_insert_iterator { // wrap pushes to back of container as output
iterator
| ^~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\iterator(22,7): note: candidate
function (the implicit move assignment operator) not viable: no known
conversion from 'value_type' (aka 'llvm::detail::DenseMapPair<unsigned int,
llvm::xray::Profile::Data>') to
'back_insert_iterator<std::vector<std::pair<unsigned int,
llvm::xray::Profile::Data>>>' for 1st argument
22 | class back_insert_iterator { // wrap pushes to back of container as output
iterator
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/221853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits