Correct the upper bound for a CBZ/CBNZ branch target.
authorPrakhar Bahuguna <prakhar.bahuguna@arm.com>
Tue, 16 Aug 2016 10:41:56 +0000 (10:41 +0000)
committerPrakhar Bahuguna <prakhar.bahuguna@arm.com>
Tue, 16 Aug 2016 10:41:56 +0000 (10:41 +0000)
commita27c4a0e66e3f5c514baa6dafd6a8b1925a0d470
tree046846031cf2d5f344bd10e2b614cda4d2b1eade
parent15ed7ec5aab8de283b2cfc9b674b5382024c1da1
Correct the upper bound for a CBZ/CBNZ branch target.

Summary:
Fix for the upper bound check that was causing a build failure.

Reviewers: olista01, rengolin, t.p.northover

Subscribers: llvm-commits

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

llvm-svn: 278789
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
llvm/test/MC/ARM/thumb-cb-negative-offsets.s