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
Paths
| Differential D5144
[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, Please have a look.
Diff Detail Event TimelineDavid.Xu updated this object. This revision is now accepted and ready to land.Sep 2 2014, 1:29 AM
Revision Contents
Diff 13152 lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
test/CodeGen/AArch64/andandshift.ll
|