This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Cleanup immediate folding code
ClosedPublic

Authored by arsenm on Nov 20 2016, 1:49 PM.

Details

Reviewers
• tstellarAMD
Summary

Move code down to use, reorder to avoid hard to follow
immediate folding logic.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 78669.Nov 20 2016, 1:49 PM
arsenm retitled this revision from to AMDGPU: Cleanup immediaet folding code.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 78670.Nov 20 2016, 1:57 PM
arsenm edited edge metadata.

Move more code, use getRegBitWidth

arsenm updated this revision to Diff 78671.Nov 20 2016, 1:58 PM
arsenm retitled this revision from AMDGPU: Cleanup immediaet folding code to AMDGPU: Cleanup immediate folding code.
arsenm edited edge metadata.

Attach correct updated diff

• tstellarAMD accepted this revision.Nov 23 2016, 12:42 PM
• tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 23 2016, 12:42 PM
arsenm closed this revision.Nov 23 2016, 2:01 PM

r287818