This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't create intermediate SALU instructions
ClosedPublic

Authored by arsenm on Aug 20 2015, 10:14 PM.

Details

Reviewers
tstellarAMD
Summary

When splitting 64-bit operations, create the correct
VALU instructions immediately.

This was splitting things like s_or_b64 into the two
s_or_b32s and then pushing the new instructions
onto the worklist. There's no reason we need
to do this intermediate step.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 32799.Aug 20 2015, 10:14 PM
arsenm retitled this revision from to AMDGPU: Don't create intermediate SALU instructions.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Aug 26 2015, 1:12 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Aug 26 2015, 1:12 PM
arsenm closed this revision.Aug 26 2015, 1:49 PM

r246077