mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Rename MVT to EVT, in preparation for splitting SimpleValueType out into its own struct type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user