This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Prevent uniform loops from becoming infinite
ClosedPublic

Authored by nhaehnle on Mar 13 2016, 3:37 PM.

Details

Summary

Uniform loops where the branch leaving the loop is predicated on VCCNZ
must be skipped if EXEC = 0, otherwise they will be infinite.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle updated this revision to Diff 50560.Mar 13 2016, 3:37 PM
nhaehnle retitled this revision from to AMDGPU: Prevent uniform loops from becoming infinite.
nhaehnle updated this object.
nhaehnle added reviewers: tstellarAMD, arsenm.
nhaehnle added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Mar 14 2016, 7:51 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 14 2016, 7:51 AM
This revision was automatically updated to reflect the committed changes.