This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][gfx8] Support 20-bit immediate offset in SMEM instructions
ClosedPublic

Authored by artem.tamazov on Oct 28 2016, 9:59 AM.

Details

Summary

Fixes Bug 30808.
Note that passing subtarget information to predicates seems too complicated, so gfx8-specific def smrd_offset_20 introduced.
Old gfx6/7-specific def renamed to smrd_offset_8 for clarity.
Lit tests updated.

Diff Detail

Repository
rL LLVM

Event Timeline

artem.tamazov retitled this revision from to [AMDGPU][MC][gfx8] Support 20-bit immediate offset in SMEM instructions.
artem.tamazov updated this object.
artem.tamazov added a reviewer: vpykhtin.
artem.tamazov set the repository for this revision to rL LLVM.
artem.tamazov added a subscriber: Restricted Project.
artem.tamazov edited edge metadata.

Disassembler tests updated.

vpykhtin accepted this revision.Oct 31 2016, 4:46 AM
vpykhtin edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 31 2016, 4:46 AM
This revision was automatically updated to reflect the committed changes.