OSDN Git Service

[ARM] Add additional matching for UBFX instructions
authorOliver Stannard <oliver.stannard@arm.com>
Wed, 1 Jun 2016 12:01:01 +0000 (12:01 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Wed, 1 Jun 2016 12:01:01 +0000 (12:01 +0000)
commit0144de52621146df4756cc3ed6fc7b527e215c4b
treefc2394655ec3fe5cc5f819cd3d511645acdca764
parent6e55ed9516bb335a568a4f58e0830f562533c9ae
[ARM] Add additional matching for UBFX instructions

This adds an additional matcher to select UBFX(..) from SRL(AND(..)) in
ARMISelDAGToDAG to help with code size.

Patch by David Green.

Differential Revision: http://reviews.llvm.org/D20667

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271384 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
test/CodeGen/ARM/bfx.ll