[PATCH] D88373: [PowerPC] implement target hook getTgtMemIntrinsic
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 27 01:19:18 PDT 2020
shchenz created this revision.
shchenz added reviewers: jsji, nemanjai, steven.zhang, PowerPC.
Herald added subscribers: llvm-commits, kbarton, hiraditya.
Herald added a project: LLVM.
shchenz requested review of this revision.
Implement `TargetTransformInfoImplBase::getTgtMemIntrinsic` on PowerPC target, so that `getTgtMemIntrinsic` user can recognize PowerPC specific memory intrinsics.
For example, LSR uses `getTgtMemIntrinsic` to check if an intrinsic is a memory-related, so that it can mark operand as `Address` kind
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88373
Files:
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
llvm/test/Transforms/LoopStrengthReduce/Power/memory-intrinsic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88373.294539.patch
Type: text/x-patch
Size: 3860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200927/0923e41c/attachment.bin>
More information about the llvm-commits
mailing list