This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Handle hazard with > 8 byte VMEM stores
ClosedPublic

Authored by tstellarAMD on Oct 13 2016, 1:34 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Handle hazard with > 8 byte VMEM stores.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm added inline comments.Oct 13 2016, 8:25 PM
lib/Target/AMDGPU/GCNHazardRecognizer.cpp
384–391 ↗(On Diff #74575)

2 space indent

397 ↗(On Diff #74575)

this should maybe assert

412–414 ↗(On Diff #74575)

Maybe this should move into an ST.hasFooHazard() check (and be just == SOUTHERN_ISLANDS)

Address review comments.

tstellarAMD marked 3 inline comments as done.Oct 18 2016, 9:43 AM
arsenm accepted this revision.Oct 26 2016, 1:23 PM
arsenm edited edge metadata.

LGTM with minor cleanups

lib/Target/AMDGPU/GCNHazardRecognizer.cpp
373 ↗(On Diff #75022)

MI.getDesc

375–376 ↗(On Diff #75022)

Move to the beginning?

386–387 ↗(On Diff #75022)

second line should be indented (although it looks like it might fit on one)

417–420 ↗(On Diff #75022)

Move to beginning

This revision is now accepted and ready to land.Oct 26 2016, 1:23 PM
This revision was automatically updated to reflect the committed changes.