summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-06-11 08:07:26 +0000
committerBill Wendling <isanbard@gmail.com>2012-06-11 08:07:26 +0000
commit4b79647a6efbe80e6ffe78d65378cdd4d94c7773 (patch)
treeb48aaef3786523b3aa637d5025bf4ea481f682c7 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent2150145ae49f85cf59ea2ad6a68c626e19514163 (diff)
downloadbcm5719-llvm-4b79647a6efbe80e6ffe78d65378cdd4d94c7773.tar.gz
bcm5719-llvm-4b79647a6efbe80e6ffe78d65378cdd4d94c7773.zip
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> llvm-svn: 158302
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 8c71021c6ce..c48fa763b40 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -895,6 +895,7 @@ const char *ARMTargetLowering::getTargetNodeName(unsigned Opcode) const {
case ARMISD::RET_FLAG: return "ARMISD::RET_FLAG";
case ARMISD::PIC_ADD: return "ARMISD::PIC_ADD";
case ARMISD::CMP: return "ARMISD::CMP";
+ case ARMISD::CMN: return "ARMISD::CMN";
case ARMISD::CMPZ: return "ARMISD::CMPZ";
case ARMISD::CMPFP: return "ARMISD::CMPFP";
case ARMISD::CMPFPw0: return "ARMISD::CMPFPw0";
OpenPOWER on IntegriCloud