This is an archive of the discontinued LLVM Phabricator instance.

[OpaquePtr] Add type parameter to emitLoadLinked
ClosedPublic

Authored by kparzysz on Jul 2 2021, 8:26 AM.

Details

Reviewers
aeubanks
nikic
Group Reviewers
Restricted Project
Commits
rGdf88c26f0d6f: [OpaquePtr] Add type parameter to emitLoadLinked
Summary

Add type parameter to TargetLowering::emitLoadLinked.

Diff Detail

Event Timeline

kparzysz created this revision.Jul 2 2021, 8:26 AM
kparzysz requested review of this revision.Jul 2 2021, 8:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 2 2021, 8:26 AM
nikic added a comment.Jul 2 2021, 8:48 AM

Is it possible to add a test for this (without running into other crashes)? That is, add a variant using ptr to an existing test for this functionality?

Otherwise this looks good to me.

kparzysz updated this revision to Diff 356200.Jul 2 2021, 9:53 AM

Fixed a couple of missed uses of getElementType.

Added a test for Hexagon. Both ARM and AArch64 were crashing in getTgtMemIntrinsic during DAG construction.

aeubanks accepted this revision.Jul 2 2021, 10:37 AM
aeubanks added a reviewer: Restricted Project.
This revision is now accepted and ready to land.Jul 2 2021, 10:37 AM
This revision was landed with ongoing or failed builds.Jul 2 2021, 11:08 AM
This revision was automatically updated to reflect the committed changes.