summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2020-02-17 17:03:52 +0000
committerSimon Tatham <simon.tatham@arm.com>2020-02-18 09:34:50 +0000
commit90dc78bc62784faaa55afb0320cf3c2187d80ac6 (patch)
tree4339f1d4565d5020827bb6be5a5ef603d7a7d28b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf14680ce29663d098593e2f4e0eea96dbcaae0fb (diff)
[ARM,MVE] Add intrinsics for abs, neg and not operations.
Summary: This commit adds the unpredicated intrinsics for the unary operations vabsq (absolute value), vnegq (arithmetic negation), vmvnq (bitwise complement), vqabsq and vqnegq (saturating versions of abs and neg for signed integers, in the sense that they give INT_MAX if an input lane is INT_MIN). This is done entirely in clang: all of these operations have existing isel patterns and existing tests for them on the LLVM side, so I've just made clang emit the same IR that those patterns already match. Reviewers: dmgreen, miyuki, MarkMurrayARM, ostannard Reviewed By: MarkMurrayARM Subscribers: kristof.beyls, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D74331
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions