From 2226dfbea28a7908974f697e372668c793ef3224 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 11 Mar 2011 23:15:02 +0000 Subject: [PATCH] Remove dead code. These ARM instruction definitions no longer exist. llvm-svn: 127509 --- lib/Target/ARM/ARMISelDAGToDAG.cpp | 2 +- utils/TableGen/ARMDecoderEmitter.cpp | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index edf74387b15..8ef44d1ae83 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -2168,7 +2168,7 @@ SDNode *ARMDAGToDAGISel::SelectCMOVOp(SDNode *N) { // Emits: (tMOVCCr:i32 GPR:i32:$false, GPR:i32:$true, (imm:i32):$cc) // Pattern complexity = 6 cost = 11 size = 0 // - // Also FCPYScc and FCPYDcc. + // Also VMOVScc and VMOVDcc. SDValue Tmp2 = CurDAG->getTargetConstant(CCVal, MVT::i32); SDValue Ops[] = { FalseVal, TrueVal, Tmp2, CCR, InFlag }; unsigned Opc = 0; diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp index 4c081875eeb..3f2c55f424d 100644 --- a/utils/TableGen/ARMDecoderEmitter.cpp +++ b/utils/TableGen/ARMDecoderEmitter.cpp @@ -1592,14 +1592,6 @@ ARMDEBackend::populateInstruction(const CodeGenInstruction &CGI, // better off using the generic RSCri and RSCrs instructions. if (Name == "RSCSri" || Name == "RSCSrs") return false; - // FCYPScc, FCYPDcc, FNEGScc, and FNEGDcc are used in the compiler - // to implement conditional moves. We can ignore them in favor of - // their more generic versions of instructions. See also - // SDNode *ARMDAGToDAGISel::Select(SDValue Op). - if (Name == "FCPYScc" || Name == "FCPYDcc" || Name == "FNEGScc" || - Name == "FNEGDcc") - return false; - // Bcc is in a more generic form than B. Ignore B when decoding. if (Name == "B") return false;