summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaISelLowering.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/Alpha/AlphaISelLowering.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/Alpha/AlphaISelLowering.h')
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.h b/llvm/lib/Target/Alpha/AlphaISelLowering.h
index 41a4b54c5f9..8738d02f4d3 100644
--- a/llvm/lib/Target/Alpha/AlphaISelLowering.h
+++ b/llvm/lib/Target/Alpha/AlphaISelLowering.h
@@ -66,6 +66,9 @@ namespace llvm {
public:
explicit AlphaTargetLowering(TargetMachine &TM);
+ /// getSetCCResultType - Get the SETCC result ValueType
+ virtual MVT::ValueType getSetCCResultType(const SDOperand &) const;
+
/// LowerOperation - Provide custom lowering hooks for some operations.
///
virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
OpenPOWER on IntegriCloud