[PATCH] D74335: [ARM,MVE] Add intrinsics vclzq and vclsq.
Simon Tatham via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 08:56:07 PST 2020
simon_tatham created this revision.
simon_tatham added reviewers: dmgreen, miyuki, MarkMurrayARM, ostannard.
Herald added subscribers: llvm-commits, cfe-commits, hiraditya, kristof.beyls.
Herald added projects: clang, LLVM.
vclzq maps nicely to the existing target-independent @llvm.ctlz IR
intrinsic. But vclsq ('count leading sign bits') has no corresponding
target-independent intrinsic, so I've made up @llvm.arm.mve.vcls.
This commit adds the unpredicated forms only.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74335
Files:
clang/include/clang/Basic/arm_mve.td
clang/include/clang/Basic/arm_mve_defs.td
clang/test/CodeGen/arm-mve-intrinsics/vclz.c
llvm/include/llvm/IR/IntrinsicsARM.td
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-intrinsics/vcls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74335.243584.patch
Type: text/x-patch
Size: 7934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200210/68d4c2c0/attachment-0001.bin>
More information about the cfe-commits
mailing list