[PATCH] [AArch64]Merge Extend and Shift into a UBFX

Xu Jiangwei David.Xu at arm.com
Tue Sep 2 00:10:03 PDT 2014


Hi t.p.northover, Jiangning,

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

http://reviews.llvm.org/D5144

Files:
  lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  test/CodeGen/AArch64/andandshift.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5144.13152.patch
Type: text/x-patch
Size: 3333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140902/07b7e216/attachment.bin>


More information about the llvm-commits mailing list