summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-10 18:56:59 +0000
committerOwen Anderson <resistor@mac.com>2009-08-10 18:56:59 +0000
commitc30530d105732fdec2c94f2f46ec5b1a8955d1ba (patch)
treec4b0b1f27a018fd714404e2bcaf69dceaa5d9ad5 /llvm/lib/Target/PIC16
parent2375952a47cadf71dc8b0136a8f775363823551c (diff)
downloadbcm5719-llvm-c30530d105732fdec2c94f2f46ec5b1a8955d1ba.tar.gz
bcm5719-llvm-c30530d105732fdec2c94f2f46ec5b1a8955d1ba.zip
Start moving TargetLowering away from using full MVTs and towards SimpleValueType, which will simplify the privatization of IntegerType in the future.
llvm-svn: 78584
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/PIC16ISelLowering.cpp3
-rw-r--r--llvm/lib/Target/PIC16/PIC16ISelLowering.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
index ec9a52fba07..a98604b8ff6 100644
--- a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
+++ b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
@@ -365,7 +365,8 @@ static void PopulateResults(SDValue N, SmallVectorImpl<SDValue>&Results) {
Results.push_back(N);
}
-MVT PIC16TargetLowering::getSetCCResultType(MVT ValType) const {
+MVT::SimpleValueType
+PIC16TargetLowering::getSetCCResultType(MVT ValType) const {
return MVT::i8;
}
diff --git a/llvm/lib/Target/PIC16/PIC16ISelLowering.h b/llvm/lib/Target/PIC16/PIC16ISelLowering.h
index 1f3c59aad0b..968374c9707 100644
--- a/llvm/lib/Target/PIC16/PIC16ISelLowering.h
+++ b/llvm/lib/Target/PIC16/PIC16ISelLowering.h
@@ -82,7 +82,7 @@ namespace llvm {
/// DAG node.
virtual const char *getTargetNodeName(unsigned Opcode) const;
/// getSetCCResultType - Return the ISD::SETCC ValueType
- virtual MVT getSetCCResultType(MVT ValType) const;
+ virtual MVT::SimpleValueType getSetCCResultType(MVT ValType) const;
SDValue LowerShift(SDValue Op, SelectionDAG &DAG);
SDValue LowerMUL(SDValue Op, SelectionDAG &DAG);
SDValue LowerADD(SDValue Op, SelectionDAG &DAG);
OpenPOWER on IntegriCloud