[PATCH] D114506: [AArch64][SVE]Support for SVE instrinsic in AArch64TargetTransformInfo
duanbo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 23 23:53:09 PST 2021
duan.db created this revision.
duan.db added reviewers: Matt, paulwalker-arm, david-arm, peterwaller-arm.
Herald added subscribers: ctetreau, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
duan.db requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Due to the imperfect support of AArch64TargetTransformInfo for SVE Intrinsic, the loop-reduce pass did not obtain the correct information. It will assign the wrong type to the LSRUser, and the generated assembly appears redundant.
This patch is simple support for AArch64TargetTransformInfo. Please have a look and give some advance.
If it's OK, I will go on with other SVE intrinsic support.
https://reviews.llvm.org/D114506
Files:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Transforms/LoopStrengthReduce/AArch64/getTgtMemIntrinsic1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114506.389401.patch
Type: text/x-patch
Size: 5331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/d182adca/attachment.bin>
More information about the llvm-commits
mailing list