diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-05-04 19:53:56 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-05-04 19:53:56 +0000 |
commit | 2c7e5c714c8675f757c4936a3a2132c2466a626c (patch) | |
tree | d12badebae2dc12170dfc9c5fbf765d4fc965c6c /lib | |
parent | 3d142e58efde4826b20810d9c8ef9e52e5bbbe50 (diff) | |
download | external_llvm-2c7e5c714c8675f757c4936a3a2132c2466a626c.zip external_llvm-2c7e5c714c8675f757c4936a3a2132c2466a626c.tar.gz external_llvm-2c7e5c714c8675f757c4936a3a2132c2466a626c.tar.bz2 |
Added missing CMN case in Thumb2SizeReduction pass so that LLVM emits 16-bits encoding of CMN instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/Thumb2SizeReduction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/Thumb2SizeReduction.cpp b/lib/Target/ARM/Thumb2SizeReduction.cpp index b5a397e..f18f491 100644 --- a/lib/Target/ARM/Thumb2SizeReduction.cpp +++ b/lib/Target/ARM/Thumb2SizeReduction.cpp @@ -67,6 +67,7 @@ namespace { { ARM::t2BICrr, 0, ARM::tBIC, 0, 0, 0, 1, 0,0, 1,0 }, //FIXME: Disable CMN, as CCodes are backwards from compare expectations //{ ARM::t2CMNrr, ARM::tCMN, 0, 0, 0, 1, 0, 2,0, 0,0 }, + { ARM::t2CMNzrr, ARM::tCMNz, 0, 0, 0, 1, 0, 2,0, 0,0 }, { ARM::t2CMPri, ARM::tCMPi8, 0, 8, 0, 1, 0, 2,0, 0,0 }, { ARM::t2CMPrr, ARM::tCMPhir, 0, 0, 0, 0, 0, 2,0, 0,1 }, { ARM::t2EORrr, 0, ARM::tEOR, 0, 0, 0, 1, 0,0, 1,0 }, |