Closed
Description
Started at the merge of pulldown from community: https://github.com/intel/llvm/runs/6377899714?check_suite_focus=true
d:\github\_work\llvm\llvm\build\bin\..\include\sycl\CL/sycl/half_type.hpp:390:17: error: use of overloaded operator '-' is ambiguous (operand type 'const sycl::detail::half_impl::StorageT' (aka 'const sycl::detail::host_half_impl::half_v2'))
return half(-other.Data);
^~~~~~~~~~~
...
d:\github\_work\llvm\llvm\build\bin\..\include\sycl\CL/sycl/half_type.hpp:574:6: error: use of overloaded operator '==' is ambiguous (with operand types 'const sycl::detail::half_impl::StorageT' (aka 'const sycl::detail::host_half_impl::half_v2') and 'const sycl::detail::half_impl::StorageT')
OP(==)
~~~^~~
There is unfortunate collision of 2 changes merged in parallel:
Based on discussion in https://reviews.llvm.org/D124613 there is a discussion on some similar issue, which hopefully is going to be fixed soon (or patch reverted).
I'm going to revert ad47114 meanwhile to recover post-commit.
It seems nothing is wrong with #6061