[llvm-commits] [llvm] r127445 - /llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Jim Grosbach
grosbach at apple.com
Thu Mar 10 17:16:49 PST 2011
Author: grosbach
Date: Thu Mar 10 19:16:49 2011
New Revision: 127445
URL: http://llvm.org/viewvc/llvm-project?rev=127445&view=rev
Log:
Tidy up since ARM MOVCCi and MOVCCi16 are now pseudos.
Modified:
llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Modified: llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp?rev=127445&r1=127444&r2=127445&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp Thu Mar 10 19:16:49 2011
@@ -1606,12 +1606,12 @@
// 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.
More information about the llvm-commits
mailing list