[SveEmitter] Add builtins for svmov_b and svnot_b.
authorSander de Smalen <sander.desmalen@arm.com>
Wed, 29 Apr 2020 10:59:57 +0000 (11:59 +0100)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 29 Apr 2020 12:33:18 +0000 (13:33 +0100)
commita4dac6d4e0eae47eaa51bac72c048b1e3cd89c8b
treef81cd9ae29b64a2f37eda86ebc0ca69907e6b2aa
parent23f4edf1fe38b8d4c6dbc7fc8e197f1f1f8c6710
[SveEmitter] Add builtins for svmov_b and svnot_b.

These are custom expanded in CGBuiltin:

  svmov_b_z(pg, op) <=> svand_b_z(pg, op, op)
  svnot_b_z(pg, op) <=> sveor_b_z(pg, op, pg)

Reviewers: SjoerdMeijer, efriedma, ctetreau, rengolin

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D79039
clang/include/clang/Basic/arm_sve.td
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c [new file with mode: 0644]
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c