[PATCH] D12908: [AArch64] Improved bitfield instruction selection.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 10:39:58 PDT 2015


gberry created this revision.
gberry added reviewers: jmolloy, t.p.northover.
gberry added subscribers: mcrosier, llvm-commits.
Herald added subscribers: rengolin, aemerson.

For bitfield insert OR matching, check both operands for larger pattern
first before checking for smaller pattern.

Add pattern for unsigned bitfield insert-in-zero done with SHL+AND.

Resolves PR21631.

http://reviews.llvm.org/D12908

Files:
  lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  test/CodeGen/AArch64/bitfield-insert.ll
  test/CodeGen/AArch64/xbfiz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12908.34904.patch
Type: text/x-patch
Size: 6618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150916/537a05a0/attachment.bin>


More information about the llvm-commits mailing list