From: Jim Grosbach Date: Fri, 11 Mar 2011 01:16:49 +0000 (+0000) Subject: Tidy up since ARM MOVCCi and MOVCCi16 are now pseudos. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7e0e82dcd575d2eb7a47ab2e935a3ac4a7b2cfbe;p=oota-llvm.git Tidy up since ARM MOVCCi and MOVCCi16 are now pseudos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127445 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp index 9119219a444..915f905ba19 100644 --- a/utils/TableGen/ARMDecoderEmitter.cpp +++ b/utils/TableGen/ARMDecoderEmitter.cpp @@ -1606,12 +1606,12 @@ ARMDEBackend::populateInstruction(const CodeGenInstruction &CGI, // better off using the generic RSCri and RSCrs instructions. if (Name == "RSCSri" || Name == "RSCSrs") return false; - // MOVCCi, MOVCCi16, 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 == "MOVCCi" || Name == "MOVCCi16" || Name == "FCPYScc" || - Name == "FCPYDcc" || Name == "FNEGScc" || Name == "FNEGDcc") + // 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; // Ditto for VMOVDcc, VMOVScc, VNEGDcc, and VNEGScc.