This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Turn dead checks into asserts
ClosedPublic

Authored by arsenm on Jul 27 2016, 10:36 AM.

Details

Diff Detail

Event Timeline

arsenm updated this revision to Diff 65768.Jul 27 2016, 10:36 AM
arsenm retitled this revision from to AMDGPU: Turn dead checks into asserts.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.

The INT_TO_FP ones look good to me. The other I'm not sure of because the SelectS_BFE path only applies to GCN. If you made sure that the R600 case is covered by a test or irrelevant, then this change is fine with me.

The INT_TO_FP ones look good to me. The other I'm not sure of because the SelectS_BFE path only applies to GCN. If you made sure that the R600 case is covered by a test or irrelevant, then this change is fine with me.

R600 is covered by tests already. It just selects BFE with td patterns. The S_BFE case required custom code I think because of the way the operands are packed in the scalar version vs. the node/vector version

arsenm accepted this revision.Jul 27 2016, 5:40 PM
arsenm added a reviewer: arsenm.

r276946

This revision is now accepted and ready to land.Jul 27 2016, 5:40 PM
arsenm closed this revision.Jul 27 2016, 5:40 PM