Page MenuHomePhabricator

AMDGPU/SI: Don't emit multi-dword flat memory ops when they might access scratch
ClosedPublic

Authored by tstellarAMD on Oct 19 2016, 12:19 PM.

Details

Summary

A single flat memory operations that might access the scratch buffer
can only access MaxPrivateElementSize bytes.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Don't emit multi-dword flat memory ops when they might access scratch.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
mgrang added a subscriber: mgrang.Oct 19 2016, 12:22 PM
mgrang added inline comments.
test/CodeGen/AMDGPU/flat-address-space.ll
1 ↗(On Diff #75197)

-check-prefixes=CHECK is not needed.

Remove unneccessary -check-prefix

tony-tye accepted this revision.Oct 25 2016, 7:17 PM
tony-tye edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 25 2016, 7:17 PM
kzhuravl accepted this revision.Oct 25 2016, 7:59 PM
kzhuravl edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.