Closed fepicture closed 2 years ago
@joy2myself please take a look if you have time.
@fepicture Could you give your clang version information please?
I can't reproduce this problem with
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
root@7c800237842f:~/llvm-project/build# clang++ --version
Ubuntu clang version 14.0.0-1ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
root@7c800237842f:~/llvm-project/build# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
root@7c800237842f:~/llvm-project/build# ./bin/llvm-lit --version
lit 14.0.0dev
root@7c800237842f:~/llvm-project/build#
@fepicture Could you give your clang version information please?
I can't reproduce this problem with
clang version 10.0.0-4ubuntu1 Target: x86_64-pc-linux-gnu
Well, I am building through the latest commit in branch libcxx-simd-dev and working on Ubuntu2204, but after running gitlab-ci.yml these steps, it fails to pass all the tests.
reproduce method
error log
error log
``` In file included from /root/llvm-project/libcxx/test/std/experimental/simd/simd.mask.access/default.pass.cpp:16: /root/llvm-project/build/include/c++/v1/experimental/simd:751:3: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical] _LIBCXX_SIMD_REFERENCE_OP_(&) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && /root/llvm-project/build/include/c++/v1/experimental/simd:743:11: note: expanded from macro '_LIBCXX_SIMD_REFERENCE_OP_' __set(__get() __op std::forward<_Up>(__v)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/llvm-project/libcxx/test/std/experimental/simd/simd.mask.access/default.pass.cpp:111:12: note: in instantiation of function template specialization 'std::experimental::__simd_referenceweird code reference:
https://github.com/plctlab/llvm-project/blob/29edde3ef113ba5287585e342bc1ac299603343f/libcxx/include/experimental/simd#L751-L752