[AArch64] Add new subtarget feature to fold LSL into address mode.
authorBalaram Makam <bmakam@codeaurora.org>
Fri, 31 Mar 2017 18:16:53 +0000 (18:16 +0000)
committerBalaram Makam <bmakam@codeaurora.org>
Fri, 31 Mar 2017 18:16:53 +0000 (18:16 +0000)
commit2aba753e843271a0cae9702a70793c05f64e04de
treede4e5d969df65f933ef21a66f4e286cd6f4be041
parent48d1427c30b73b7ceef154100c774f753c600e31
[AArch64] Add new subtarget feature to fold LSL into address mode.

Summary:
This feature enables folding of logical shift operations of up to 3 places into addressing mode on Kryo and Falkor that have a fastpath LSL.

Reviewers: mcrosier, rengolin, t.p.northover

Subscribers: junbuml, gberry, llvm-commits, aemerson

Differential Revision: https://reviews.llvm.org/D31113

llvm-svn: 299240
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
llvm/lib/Target/AArch64/AArch64Subtarget.h
llvm/test/CodeGen/AArch64/aarch64-fold-lslfast.ll [new file with mode: 0644]