Re-enable the CMN instruction.
authorBill Wendling <isanbard@gmail.com>
Mon, 11 Jun 2012 08:07:26 +0000 (08:07 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 11 Jun 2012 08:07:26 +0000 (08:07 +0000)
commitad5c8808923ed5b24b586cec544e45cee539e529
tree1255f7bd09b5bfe47dd976d9a3d4c427f6282013
parent7a99b467df7cf4505612a11109ed7f05ba40abf1
Re-enable the CMN instruction.

We turned off the CMN instruction because it had semantics which we weren't
getting correct. If we are comparing with an immediate, then it's okay to use
the CMN instruction.
<rdar://problem/7569620>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/cmn.ll [new file with mode: 0644]