OSDN Git Service

[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)
commit48addbf5f829cb9709514adaf548829bd280bdef
tree3cd8484e1607035c9df8b2aab95c61a69a7e8145
parent94201fb8e72eddc1101bf647fe4baa64de1fcc89
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290296 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-indexed-memory.ll