summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-10 22:56:29 +0000
committerOwen Anderson <resistor@mac.com>2009-08-10 22:56:29 +0000
commit53aa7a960c87998b86a4d6dace4b1724ca069c74 (patch)
treef3550c38de4cad328cbcd27c149e5fc94e71ee41 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parentd91dceea0f4d112afc363b445ebd987605a6f16a (diff)
downloadbcm5719-llvm-53aa7a960c87998b86a4d6dace4b1724ca069c74.tar.gz
bcm5719-llvm-53aa7a960c87998b86a4d6dace4b1724ca069c74.zip
Rename MVT to EVT, in preparation for splitting SimpleValueType out into its own struct type.
llvm-svn: 78610
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 386d732348f..ef451103617 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@ -44,7 +44,7 @@ namespace llvm {
}
static std::string getEdgeDestLabel(const void *Node, unsigned i) {
- return ((const SDNode *) Node)->getValueType(i).getMVTString();
+ return ((const SDNode *) Node)->getValueType(i).getEVTString();
}
/// edgeTargetsEdgeSource - This method returns true if this outgoing edge
@@ -84,10 +84,10 @@ namespace llvm {
template<typename EdgeIter>
static std::string getEdgeAttributes(const void *Node, EdgeIter EI) {
SDValue Op = EI.getNode()->getOperand(EI.getOperand());
- MVT VT = Op.getValueType();
- if (VT == MVT::Flag)
+ EVT VT = Op.getValueType();
+ if (VT == EVT::Flag)
return "color=red,style=bold";
- else if (VT == MVT::Other)
+ else if (VT == EVT::Other)
return "color=blue,style=dashed";
return "";
}
OpenPOWER on IntegriCloud