This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Change FLAT Scratch SADDR to VADDR form in moveToVALU
ClosedPublic

Authored by rampitec on Apr 27 2021, 3:54 PM.

Details

Summary

Extend the legalization of global SADDR loads and stores
with changing to VADDR to the FLAT scratch instructions.

Diff Detail

Event Timeline

rampitec created this revision.Apr 27 2021, 3:54 PM
rampitec requested review of this revision.Apr 27 2021, 3:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2021, 3:54 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Apr 27 2021, 4:58 PM
llvm/lib/Target/AMDGPU/SIInstrInfo.h
1228

These functions should probably get comments. It's hard to parse out what this is without already knowing exactly what this is for

rampitec added inline comments.Apr 27 2021, 5:23 PM
llvm/lib/Target/AMDGPU/SIInstrInfo.h
1228

Ack, will do.

This revision is now accepted and ready to land.Apr 28 2021, 9:06 AM
rampitec updated this revision to Diff 341234.Apr 28 2021, 9:11 AM
rampitec marked an inline comment as done.

Added comments to helper functions.