This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Guard VOPC instructions against incorrect commute
ClosedPublic

Authored by nhaehnle on Apr 17 2016, 7:36 PM.

Details

Summary

The added testcase, which triggered this, was derived from a shader-db case
via bugpoint. A separate question is why scalar branching wasn't used.

Diff Detail

Event Timeline

nhaehnle updated this revision to Diff 54023.Apr 17 2016, 7:36 PM
nhaehnle retitled this revision from to AMDGPU: Guard VOPC instructions against incorrect commute.
nhaehnle updated this object.
nhaehnle added reviewers: arsenm, tstellarAMD.
nhaehnle added a subscriber: llvm-commits.
nhaehnle updated this revision to Diff 54024.Apr 17 2016, 7:40 PM

Ended up uploading the wrong version, sorry.

tstellarAMD accepted this revision.Apr 19 2016, 7:47 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 19 2016, 7:47 AM
This revision was automatically updated to reflect the committed changes.