summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU/SPUISelLowering.h
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-03-10 15:42:14 +0000
committerScott Michel <scottm@aero.org>2008-03-10 15:42:14 +0000
commita6729e8666de208c27ed5608689b4336eeff8f8c (patch)
treeee374e530dd9b2d3505b5ab389a7080bd7eba8cb /llvm/lib/Target/CellSPU/SPUISelLowering.h
parentafa02ed5fb72a6110a658cb45081d730d68a998d (diff)
downloadbcm5719-llvm-a6729e8666de208c27ed5608689b4336eeff8f8c.tar.gz
bcm5719-llvm-a6729e8666de208c27ed5608689b4336eeff8f8c.zip
Give TargetLowering::getSetCCResultType() a parameter so that ISD::SETCC's
return ValueType can depend its operands' ValueType. This is a cosmetic change, no functionality impacted. llvm-svn: 48145
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUISelLowering.h')
-rw-r--r--llvm/lib/Target/CellSPU/SPUISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelLowering.h b/llvm/lib/Target/CellSPU/SPUISelLowering.h
index a6147bff9b1..b8f6ee3ea5b 100644
--- a/llvm/lib/Target/CellSPU/SPUISelLowering.h
+++ b/llvm/lib/Target/CellSPU/SPUISelLowering.h
@@ -102,6 +102,9 @@ namespace llvm {
/// getTargetNodeName() - This method returns the name of a target specific
/// DAG node.
virtual const char *getTargetNodeName(unsigned Opcode) const;
+
+ /// getSetCCResultType - Return the ValueType for ISD::SETCC
+ MVT::ValueType getSetCCResultType(const SDOperand &) const;
/// LowerOperation - Provide custom lowering hooks for some operations.
///
OpenPOWER on IntegriCloud