[PATCH] D100435: [ARM] Transforming memset to Tail predicated Loop
Malhar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 13 19:16:05 PDT 2021
malharJ created this revision.
malharJ added a reviewer: dmgreen.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
malharJ requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch converts llvm.memcpy intrinsic into Tail Predicated
Hardware loops for a target that supports the Arm M-profile
Vector Extension (MVE).
The llvm.memset intrinsic is converted to a TP loop for both
constant and non-constant input sizes (of llvm.memset).
Depends on D100376 <https://reviews.llvm.org/D100376>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100435
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/memcall.ll
llvm/test/CodeGen/Thumb2/mve-gather-scatter-optimisation.ll
llvm/test/CodeGen/Thumb2/mve-phireg.ll
llvm/test/CodeGen/Thumb2/mve_tp_loop.ll
llvm/test/CodeGen/Thumb2/mve_tp_loop.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100435.337313.patch
Type: text/x-patch
Size: 42829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/e69b075b/attachment-0001.bin>
More information about the llvm-commits
mailing list