aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU
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
commit5b8f82e35b51bf007de07a7ca9347d804084ddf8 (patch)
tree64c14c0f5887248e27ce10d793b5530b6eedb91c /lib/Target/CellSPU
parent0404cd97e4f6ebfe4f8057d4e21119d77654dff2 (diff)
downloadexternal_llvm-5b8f82e35b51bf007de07a7ca9347d804084ddf8.zip
external_llvm-5b8f82e35b51bf007de07a7ca9347d804084ddf8.tar.gz
external_llvm-5b8f82e35b51bf007de07a7ca9347d804084ddf8.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r--lib/Target/CellSPU/SPUISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.h b/lib/Target/CellSPU/SPUISelLowering.h
index a6147bf..b8f6ee3 100644
--- a/lib/Target/CellSPU/SPUISelLowering.h
+++ b/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.
///