This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][Libomptarget] Remove redundant functions
ClosedPublic

Authored by pdhaliwal on Jun 18 2021, 2:36 AM.

Details

Summary

There does not seem to be any use of these functions. They just
put the value to a local which is never used again.

Diff Detail

Event Timeline

pdhaliwal created this revision.Jun 18 2021, 2:36 AM
pdhaliwal requested review of this revision.Jun 18 2021, 2:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2021, 2:36 AM
ronlieb added a subscriber: carlo.bertolli.

@carlo.bertolli please review this patch

JonChesterfield accepted this revision.Jun 18 2021, 4:44 AM

These were used before a recent change to memory management, do indeed look dead now. Thanks for the cleanup!

This revision is now accepted and ready to land.Jun 18 2021, 4:44 AM
This revision was automatically updated to reflect the committed changes.