This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Document why we use (non-volatile) BUFFER_WBINVL1 in graphics
AbandonedPublic

Authored by nhaehnle on Nov 9 2020, 8:41 AM.

Details

Summary

Graphics never used volatile vs. non-volatile in anything even
approaching a principled way, and trying to fix all the drivers years
later is fraught with unnecessary risk.

Let's just document why things are the way they are and be done with it.

Change-Id: If937c95834b712da8561e262bc41c5669e45c78c

Diff Detail

Event Timeline

nhaehnle created this revision.Nov 9 2020, 8:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2020, 8:41 AM
nhaehnle requested review of this revision.Nov 9 2020, 8:41 AM
nhaehnle updated this revision to Diff 303898.Nov 9 2020, 9:10 AM

It seems the MTYPE numbering was changed on gfx9, reflect that in the comment.

t-tye added inline comments.Nov 9 2020, 11:24 AM
llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
904

BUFFER_WBINVL1

After our internal discussion of this fizzled out, I am no longer actually sure whether this analysis is correct.

Should this be abandoned?

Can this be abandoned?

Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2022, 1:34 PM
Herald added a subscriber: kosarev. · View Herald Transcript
nhaehnle abandoned this revision.Nov 10 2022, 7:45 PM