This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Refactor processor definition to use ISA version features
ClosedPublic

Authored by yaxunl on Oct 24 2016, 12:37 PM.

Details

Summary

Add missing ISA versions 7.0.2/8.0.4/8.1.0. to backend.

Refactor processor definition to use ISA version features.

Fixed ISA version for stoney.

Based on Laurent Morichetti's patch.

Diff Detail

Repository
rL LLVM

Event Timeline

yaxunl updated this revision to Diff 75626.Oct 24 2016, 12:37 PM
yaxunl retitled this revision from to AMDGPU: Add ISA version 7.0.2/8.0.4/8.1.0..
yaxunl updated this object.
yaxunl added reviewers: tstellarAMD, arsenm.
yaxunl added a subscriber: llvm-commits.
lib/Target/AMDGPU/Processors.td
124 ↗(On Diff #75626)

FeatureSeaIslands and FeatureLDSBankCount32 Should be part of the Implies list of FeatureISAVersion7_0_0. Similar changes should be made to all the FeatureISAVersion* that are being added.

yaxunl updated this revision to Diff 75769.Oct 25 2016, 12:57 PM
yaxunl retitled this revision from AMDGPU: Add ISA version 7.0.2/8.0.4/8.1.0. to AMDGPU: Refactor processor definition to use ISA version features.
yaxunl updated this object.
yaxunl edited edge metadata.

Revised as Tony and Tom suggested.

tstellarAMD accepted this revision.Oct 26 2016, 9:35 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 26 2016, 9:35 AM
This revision was automatically updated to reflect the committed changes.