This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Insert wait states required after v_readfirstlane on SI
ClosedPublic

Authored by tstellarAMD on Apr 11 2016, 12:49 PM.

Details

Summary

We will be able to handle this case much better once the hazard recognizer
is finished, but this conservative implementation fixes a hang with the piglit
test:

spec/arb_arrays_of_arrays/execution/sampler/fs-nested-struct-arrays-nonconst-nested-arra

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Insert wait states required after v_readfirstlane on SI.
tstellarAMD updated this object.
tstellarAMD added reviewers: arsenm, nhaehnle.
tstellarAMD added a subscriber: llvm-commits.
nhaehnle accepted this revision.Apr 12 2016, 9:51 AM
nhaehnle edited edge metadata.

LGTM

This revision is now accepted and ready to land.Apr 12 2016, 9:51 AM
This revision was automatically updated to reflect the committed changes.