[llvm-commits] [llvm] r127509 - in /llvm/trunk: lib/Target/ARM/ARMISelDAGToDAG.cpp utils/TableGen/ARMDecoderEmitter.cpp
Jim Grosbach
grosbach at apple.com
Fri Mar 11 15:15:02 PST 2011
Author: grosbach
Date: Fri Mar 11 17:15:02 2011
New Revision: 127509
URL: http://llvm.org/viewvc/llvm-project?rev=127509&view=rev
Log:
Remove dead code. These ARM instruction definitions no longer exist.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=127509&r1=127508&r2=127509&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Fri Mar 11 17:15:02 2011
@@ -2168,7 +2168,7 @@
// 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;
Modified: llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp?rev=127509&r1=127508&r2=127509&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp Fri Mar 11 17:15:02 2011
@@ -1592,14 +1592,6 @@
// 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;
More information about the llvm-commits
mailing list