This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] implement target hook getTgtMemIntrinsic
ClosedPublic

Authored by shchenz on Sep 27 2020, 1:19 AM.

Details

Summary

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

Diff Detail

Event Timeline

shchenz created this revision.Sep 27 2020, 1:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2020, 1:19 AM
shchenz requested review of this revision.Sep 27 2020, 1:19 AM
shchenz updated this revision to Diff 294542.Sep 27 2020, 1:56 AM

code format fix

This revision is now accepted and ready to land.Oct 6 2020, 3:45 PM
This revision was automatically updated to reflect the committed changes.