diff options
| author | Kerry McLaughlin <kerry.mclaughlin@arm.com> | 2020-04-14 09:52:04 +0100 | 
|---|---|---|
| committer | Kerry McLaughlin <kerry.mclaughlin@arm.com> | 2020-04-14 10:41:49 +0100 | 
| commit | 36c76de6789c2503e800ec37243aa13698c59928 (patch) | |
| tree | c6787370c240b074abcb4ecf9c212567906a5be2 /lldb/packages/Python/lldbsuite/test/dotest.py | |
| parent | 31c8e118961913341e4f5c066bbdcf9b3d2109c7 (diff) | |
| download | llvm-36c76de6789c2503e800ec37243aa13698c59928.zip llvm-36c76de6789c2503e800ec37243aa13698c59928.tar.gz llvm-36c76de6789c2503e800ec37243aa13698c59928.tar.bz2 | |
[AArch64][SVE] Add a pass for SVE intrinsic optimisations
Summary:
Creates the SVEIntrinsicOpts pass. In this patch, the pass tries
to remove unnecessary reinterpret intrinsics which convert to
and from svbool_t (llvm.aarch64.sve.convert.[to|from].svbool)
For example, the reinterprets below are redundant:
  %1 = call <vscale x 16 x i1> @llvm.aarch64.sve.convert.to.svbool.nxv4i1(<vscale x 4 x i1> %a)
  %2 = call <vscale x 4 x i1> @llvm.aarch64.sve.convert.from.svbool.nxv4i1(<vscale x 16 x i1> %1)
The pass also looks for ptest intrinsics and phi instructions where
the operands are being needlessly converted to and from svbool_t.
Reviewers: sdesmalen, andwar, efriedma, cameron.mcinally, c-rhodes, rengolin
Reviewed By: efriedma
Subscribers: mgorny, tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, danielkiss, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76078
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions
