OSDN Git Service

[ARM] Check that CPSR does not have other uses
authorDavid Green <david.green@arm.com>
Sun, 17 Mar 2019 21:36:15 +0000 (21:36 +0000)
committerDavid Green <david.green@arm.com>
Sun, 17 Mar 2019 21:36:15 +0000 (21:36 +0000)
commitb44cf4fdfc9c2fbe46d4581bdff0389b65a4eb0e
tree372a4668f249c2bdbd27c12dc946716567afd1ed
parent9629afce59139f4e1f1bb4191ff6f119c03d83c4
[ARM] Check that CPSR does not have other uses

Fix up rL356335 by checking that CPSR is not read between
the compare and the branch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp
test/CodeGen/Thumb2/constant-islands-cbz.mir