This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add s-memrealtime and s-memtime-inst to RemoveIncompatibleFunctions
ClosedPublic

Authored by cfang on Aug 18 2023, 2:35 PM.

Details

Summary

Under -O0, device-libs may still emit these instructions under conditions.
So we need to remove them with warning if not compatible.

Fixes: SWDEV-417219

Diff Detail

Event Timeline

cfang created this revision.Aug 18 2023, 2:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2023, 2:35 PM
cfang requested review of this revision.Aug 18 2023, 2:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2023, 2:35 PM
Herald added a subscriber: wdng. · View Herald Transcript
Pierre-vh accepted this revision.Aug 22 2023, 12:36 AM

LGTM but maybe wait for @arsenm or @b-sumner to comment just in case

This revision is now accepted and ready to land.Aug 22 2023, 12:36 AM

I am fine with this.

This revision was landed with ongoing or failed builds.Aug 22 2023, 10:23 AM
This revision was automatically updated to reflect the committed changes.