This is an archive of the discontinued LLVM Phabricator instance.

[AArch64]Merge Extend and Shift into a UBFX
ClosedPublic

Authored by David.Xu on Sep 2 2014, 12:09 AM.

Details

Summary

This patch generates unfx when extending and then shifting a variable. For example,
and w8, w0, #0xf8
lsr w0, w8, #3
->
ubfx w0, w0, 3, 5

Please have a look.
David

Diff Detail

Event Timeline

David.Xu updated this revision to Diff 13152.Sep 2 2014, 12:09 AM
David.Xu retitled this revision from to [AArch64]Merge Extend and Shift into a UBFX .
David.Xu updated this object.
David.Xu edited the test plan for this revision. (Show Details)
David.Xu added reviewers: t.p.northover, Jiangning.
David.Xu added a subscriber: Unknown Object (MLST).
David.Xu updated this object.Sep 2 2014, 12:11 AM
David.Xu updated this object.
t.p.northover accepted this revision.Sep 2 2014, 1:29 AM
t.p.northover edited edge metadata.

Hi David,

This looks fine to me.

Cheers.

Tim.

This revision is now accepted and ready to land.Sep 2 2014, 1:29 AM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in rL216899.