[AArch64] Correct the check of signed 9-bit imm in getIndexedAddressParts().
authorHaicheng Wu <haicheng@codeaurora.org>
Thu, 22 Dec 2016 01:39:24 +0000 (01:39 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Thu, 22 Dec 2016 01:39:24 +0000 (01:39 +0000)
commit9ac20a1e1073cf8eb40d8efe42e17bd3b2be4682
tree7740039d393a60d4a9f4422ed17c5f98df12fc42
parent180bd9f6b30a1cbea5adbe65d03af95148872740
[AArch64] Correct the check of signed 9-bit imm in getIndexedAddressParts().

-256 is a legal indexed address part.

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

llvm-svn: 290296
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/arm64-indexed-memory.ll