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.

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

2 space indent

397

this should maybe assert

412–414

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

MI.getDesc

375–376

Move to the beginning?

386–387

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

417–420

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.