[PATCH] D81459: [SveEmitter] Add SVE tuple types and builtins for svundef.
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 9 05:27:08 PDT 2020
sdesmalen created this revision.
sdesmalen added reviewers: c-rhodes, david-arm, ctetreau, efriedma.
Herald added a subscriber: tschuett.
Herald added a reviewer: rengolin.
Herald added a project: clang.
This patch adds new SVE types to Clang that describe tuples of SVE
vectors. For example `svint32x2_t` which maps to the twice-as-wide
vector `<vscale x 8 x i32>`. Similarly, `svint32x3_t` will map to
`<vscale x 12 x i32>`.
It also adds builtins to return an `undef` vector for a given
SVE type.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81459
Files:
clang/include/clang/Basic/AArch64SVEACLETypes.def
clang/include/clang/Basic/TargetBuiltins.h
clang/include/clang/Basic/arm_sve.td
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenTypes.cpp
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4.c
clang/utils/TableGen/SveEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81459.269498.patch
Type: text/x-patch
Size: 22659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200609/fa5ab408/attachment-0001.bin>
More information about the cfe-commits
mailing list