[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
Rafael Espindola
rafael.espindola at gmail.com
Thu Sep 21 06:06:41 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMISelDAGToDAG.cpp updated: 1.46 -> 1.47
---
Log message:
more condition codes
---
Diffs of the changes: (+8 -1)
ARMISelDAGToDAG.cpp | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.46 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.47
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.46 Thu Sep 21 06:29:52 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp Thu Sep 21 08:06:26 2006
@@ -87,7 +87,14 @@
/// DAGCCToARMCC - Convert a DAG integer condition code to an ARM CC
static ARMCC::CondCodes DAGCCToARMCC(ISD::CondCode CC) {
switch (CC) {
- default: assert(0 && "Unknown condition code!");
+ default:
+ std::cerr << "CC = " << CC << "\n";
+ assert(0 && "Unknown condition code!");
+ case ISD::SETUGT: return ARMCC::HI;
+ case ISD::SETULE: return ARMCC::LS;
+ case ISD::SETLE: return ARMCC::LE;
+ case ISD::SETLT: return ARMCC::LT;
+ case ISD::SETGT: return ARMCC::GT;
case ISD::SETNE: return ARMCC::NE;
case ISD::SETEQ: return ARMCC::EQ;
case ISD::SETGE: return ARMCC::GE;
More information about the llvm-commits
mailing list