This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Allow some control flow intrinsics to be CSEd
ClosedPublic

Authored by arsenm on Sep 13 2016, 4:43 PM.

Details

Reviewers
tstellarAMD
Summary

These clean up some unnecessary or instructions in
cases with complex loops.

In the original testcase I noticed this, the same
or with exec was repeated 5 or 6 times in a row. With
this only one is emitted or sometimes a copy.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 71266.Sep 13 2016, 4:43 PM
arsenm retitled this revision from to AMDGPU: Allow some control flow intrinsics to be CSEd.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Sep 16 2016, 2:38 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Sep 16 2016, 2:38 PM
arsenm closed this revision.Sep 16 2016, 3:20 PM

r281786