This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Eliminate half of i64 or if one operand is zero_extend from i32
ClosedPublic

Authored by arsenm on Feb 24 2016, 11:01 PM.

Details

Reviewers
tstellarAMD
Summary

This helps clean up some of the mess when expanding unaligned 64-bit
loads when changed to be promote to v2i32, and fixes situations
where or x, 0 was emitted after splitting 64-bit ors during moveToVALU.

I think this could be a generic combine but I'm not sure.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 49010.Feb 24 2016, 11:01 PM
arsenm retitled this revision from to AMDGPU: Eliminate half of i64 or if one operand is zero_extend from i32.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 49283.Feb 26 2016, 9:43 PM

Add comment about generalizing the combine

tstellarAMD accepted this revision.Feb 29 2016, 6:19 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Feb 29 2016, 6:19 AM
arsenm closed this revision.Apr 12 2016, 11:30 AM

r266104