[PATCH] D76678: [SveEmitter] Add range checks for immediates and predicate patterns.
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 24 02:07:55 PDT 2020
sdesmalen created this revision.
sdesmalen added reviewers: efriedma, SjoerdMeijer, rovka.
Herald added subscribers: mgrang, tschuett, mgorny.
Herald added a project: clang.
sdesmalen added a child revision: D76679: [SveEmitter] Add more immediate operand checks..
This patch adds a mechanism to easily add range checks for a builtin's
immediate operands. This patch is tested with the qdech intrinsic, which takes
both an enum for the predicate pattern, as well as an immediate for the
multiplier.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76678
Files:
clang/include/clang/Basic/CMakeLists.txt
clang/include/clang/Basic/TargetBuiltins.h
clang/include/clang/Basic/arm_sve.td
clang/include/clang/Sema/Sema.h
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qdech.c
clang/utils/TableGen/SveEmitter.cpp
clang/utils/TableGen/TableGen.cpp
clang/utils/TableGen/TableGenBackends.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76678.252245.patch
Type: text/x-patch
Size: 28902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200324/a08e3db6/attachment-0001.bin>
More information about the cfe-commits
mailing list