This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove unneeded implicit exec defs
ClosedPublic

Authored by arsenm on Aug 22 2016, 3:09 PM.

Details

Reviewers
tstellarAMD
Summary

SI_BREAK, SI_IF_BREAK, and SI_ELSE_BREAK do not def exec.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 68917.Aug 22 2016, 3:09 PM
arsenm retitled this revision from to AMDGPU: Remove unneeded implicit exec defs.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 68918.Aug 22 2016, 3:14 PM

if_break and else_break do not read exec either

arsenm updated this revision to Diff 68920.Aug 22 2016, 3:33 PM

Cleanup with pseudo instruction classes

lib/Target/AMDGPU/SIInstructions.td
1815–1820

Doesn't this expand to something that read/writes exec?

arsenm added inline comments.Aug 26 2016, 6:13 PM
lib/Target/AMDGPU/SIInstructions.td
1815–1820

Yes. It still does here, it just sets the bit to CFPseudoInstSI instead of using the let blocks

tstellarAMD accepted this revision.Aug 26 2016, 6:27 PM
tstellarAMD edited edge metadata.

LGTM.

lib/Target/AMDGPU/SIInstructions.td
1815–1820

OK, I see.

This revision is now accepted and ready to land.Aug 26 2016, 6:27 PM
arsenm closed this revision.Aug 26 2016, 8:09 PM

r279909