diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-13 18:45:35 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-13 18:45:35 +0000 |
commit | 05394352c019da94e9ece722492ced494b2bedb1 (patch) | |
tree | c32582dba9d931262aca4148bd835ace0226cb1c /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h | |
parent | 2806a549b4f065e6ca1a11fa60c486c60933611d (diff) | |
download | bcm5719-llvm-05394352c019da94e9ece722492ced494b2bedb1.tar.gz bcm5719-llvm-05394352c019da94e9ece722492ced494b2bedb1.zip |
Change TargetLowering::getRepRegClassFor to take an MVT, instead of
EVT.
Accordingly, change RegDefIter to contain MVTs instead of EVTs.
llvm-svn: 170140
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h index 907356fd212..76067a186d9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h @@ -135,13 +135,13 @@ namespace llvm { const SDNode *Node; unsigned DefIdx; unsigned NodeNumDefs; - EVT ValueType; + MVT ValueType; public: RegDefIter(const SUnit *SU, const ScheduleDAGSDNodes *SD); bool IsValid() const { return Node != NULL; } - EVT GetValue() const { + MVT GetValue() const { assert(IsValid() && "bad iterator"); return ValueType; } |