[AArch64] Favor extended reg patterns for sub
authorGeoff Berry <gberry@codeaurora.org>
Fri, 31 Jul 2015 15:55:54 +0000 (15:55 +0000)
committerGeoff Berry <gberry@codeaurora.org>
Fri, 31 Jul 2015 15:55:54 +0000 (15:55 +0000)
commit0dd663b59840f18220a9092f12c653f3ebcb5251
tree11f7b956d0ac5dcd4589721e24575d5edc94f858
parent29b8ad67499896cc0d6e3a3e2258a71d650c5396
[AArch64] Favor extended reg patterns for sub

Summary:
Favor the extended reg patterns over the shifted reg patterns that match
only the operand shift and not the full sign/zero extend and shift.

Reviewers: jmolloy, t.p.northover

Subscribers: mcrosier, aemerson, llvm-commits, rengolin

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243753 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.td
test/CodeGen/AArch64/addsub_ext.ll