This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add patterns for i8/i16 local atomic load/store
ClosedPublic

Authored by piotr on Oct 15 2021, 2:32 AM.

Details

Summary

Add patterns for i8/i16 local atomic load/store.

Added tests for new patterns.

Copied atomic_[store/load]_local.ll to GlobalISel directory.

Diff Detail

Event Timeline

piotr created this revision.Oct 15 2021, 2:32 AM
piotr requested review of this revision.Oct 15 2021, 2:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 15 2021, 2:32 AM
foad added inline comments.Oct 15 2021, 2:53 AM
llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_local.ll
141

Depending on what kind of crash it is, you might be able to add -global-isel-abort=0 to the RUN lines to work around this? There are already some examples in this directory.

piotr updated this revision to Diff 379959.Oct 15 2021, 3:55 AM

Added -global-isel-abort=0 and restored the tests.

piotr edited the summary of this revision. (Show Details)Oct 15 2021, 3:55 AM
rampitec accepted this revision.Oct 15 2021, 9:51 AM
This revision is now accepted and ready to land.Oct 15 2021, 9:51 AM
This revision was automatically updated to reflect the committed changes.