Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.20 -> 1.21 IA64ISelLowering.h updated: 1.3 -> 1.4 --- Log message: Cleanup IA64ISD, tell the graph drawer what the symbolic names for the enums are. --- Diffs of the changes: (+11 -14) IA64ISelLowering.cpp | 9 +++++++++ IA64ISelLowering.h | 16 ++-------------- 2 files changed, 11 insertions(+), 14 deletions(-) Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.20 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.21 --- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.20 Fri Jan 13 21:14:10 2006 +++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Sat Jan 14 16:27:21 2006 @@ -94,6 +94,15 @@ addLegalFPImmediate(+1.0); } +const char *IA64TargetLowering::getTargetNodeName(unsigned Opcode) const { + switch (Opcode) { + default: return 0; + case IA64ISD::GETFD: return "IA64ISD::GETFD"; + case IA64ISD::BRCALL: return "IA64ISD::BRCALL"; + } +} + + /// isFloatingPointZero - Return true if this is 0.0 or -0.0. static bool isFloatingPointZero(SDOperand Op) { if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Op)) Index: llvm/lib/Target/IA64/IA64ISelLowering.h diff -u llvm/lib/Target/IA64/IA64ISelLowering.h:1.3 llvm/lib/Target/IA64/IA64ISelLowering.h:1.4 --- llvm/lib/Target/IA64/IA64ISelLowering.h:1.3 Thu Dec 22 07:29:14 2005 +++ llvm/lib/Target/IA64/IA64ISelLowering.h Sat Jan 14 16:27:21 2006 @@ -25,20 +25,6 @@ // Start the numbering where the builting ops and target ops leave off. FIRST_NUMBER = ISD::BUILTIN_OP_END+IA64::INSTRUCTION_LIST_END, - /// FSEL - Traditional three-operand fsel node. - /// - FSEL, - - /// FCFID - The FCFID instruction, taking an f64 operand and producing - /// and f64 value containing the FP representation of the integer that - /// was temporarily in the f64 operand. - FCFID, - - /// FCTI[D,W]Z - The FCTIDZ and FCTIWZ instructions, taking an f32 or f64 - /// operand, producing an f64 value containing the integer representation - /// of that FP value. - FCTIDZ, FCTIWZ, - /// GETFD - the getf.d instruction takes a floating point operand and /// returns its 64-bit memory representation as an i64 GETFD, @@ -63,6 +49,8 @@ /// // XXX virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG); + const char *getTargetNodeName(unsigned Opcode) const; + /// LowerArguments - This hook must be implemented to indicate how we should /// lower the arguments for the specified function, into the specified DAG. virtual std::vector<SDOperand> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits