[clang][SVE] Add support for bitwise operators on SVE types
authorDavid Truby <david.truby@arm.com>
Mon, 7 Mar 2022 15:09:46 +0000 (15:09 +0000)
committerDavid Truby <david.truby@arm.com>
Fri, 18 Mar 2022 14:06:47 +0000 (14:06 +0000)
commitf47e7e4a3480707f124db9622001d3a05a777d5d
tree0fe6ed2a337b16bea7b3a1bed5c023f5ab433426
parent4b3a27e2e026f9be703c1bdcb396c10559a87347
[clang][SVE] Add support for bitwise operators on SVE types

This patch implements support for the &, |, ^, and ~ operators on sizeless SVE
types.

Differential Revision: https://reviews.llvm.org/D121119
clang/include/clang/Sema/Sema.h
clang/lib/AST/Type.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGen/aarch64-sve-vector-arith-ops.c [moved from clang/test/CodeGen/aarch64-sve-vector-ops.c with 100% similarity]
clang/test/CodeGen/aarch64-sve-vector-bitwise-ops.c [new file with mode: 0644]
clang/test/Sema/aarch64-sve-vector-arith-ops.c [moved from clang/test/Sema/aarch64-sve-vector-ops.c with 100% similarity]
clang/test/Sema/aarch64-sve-vector-bitwise-ops.c [new file with mode: 0644]
clang/test/Sema/attr-arm-sve-vector-bits.c
clang/test/Sema/sizeless-1.c
clang/test/SemaCXX/sizeless-1.cpp