diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-06-11 08:07:26 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-06-11 08:07:26 +0000 |
commit | ad5c8808923ed5b24b586cec544e45cee539e529 (patch) | |
tree | 1255f7bd09b5bfe47dd976d9a3d4c427f6282013 /lib/Target/ARM/ARMISelLowering.h | |
parent | 7a99b467df7cf4505612a11109ed7f05ba40abf1 (diff) | |
download | llvm-ad5c8808923ed5b24b586cec544e45cee539e529.tar.gz llvm-ad5c8808923ed5b24b586cec544e45cee539e529.tar.bz2 llvm-ad5c8808923ed5b24b586cec544e45cee539e529.tar.xz |
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
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.h')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.h b/lib/Target/ARM/ARMISelLowering.h index a113878978..7ad48b9b53 100644 --- a/lib/Target/ARM/ARMISelLowering.h +++ b/lib/Target/ARM/ARMISelLowering.h @@ -56,6 +56,7 @@ namespace llvm { PIC_ADD, // Add with a PC operand and a PIC label. CMP, // ARM compare instructions. + CMN, // ARM CMN instructions. CMPZ, // ARM compare that sets only Z flag. CMPFP, // ARM VFP compare instruction, sets FPSCR. CMPFPw0, // ARM VFP compare against zero instruction, sets FPSCR. |