summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-13 18:45:35 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-13 18:45:35 +0000
commit860e7cdab9d5eceda5ac52ae0ddfb4bdab0067f2 (patch)
treecc0de031414033493f26e82345b6d77ba0a8b0d4 /lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
parentd14baf450b17d47c80950b59e3dd8844b79821f7 (diff)
downloadllvm-860e7cdab9d5eceda5ac52ae0ddfb4bdab0067f2.tar.gz
llvm-860e7cdab9d5eceda5ac52ae0ddfb4bdab0067f2.tar.bz2
llvm-860e7cdab9d5eceda5ac52ae0ddfb4bdab0067f2.tar.xz
Change TargetLowering::getRepRegClassFor to take an MVT, instead of
EVT. Accordingly, change RegDefIter to contain MVTs instead of EVTs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
index 057450de2b..b22440daf1 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
@@ -562,7 +562,7 @@ void ScheduleDAGSDNodes::RegDefIter::Advance() {
for (;DefIdx < NodeNumDefs; ++DefIdx) {
if (!Node->hasAnyUseOfValue(DefIdx))
continue;
- ValueType = Node->getValueType(DefIdx);
+ ValueType = Node->getSimpleValueType(DefIdx);
++DefIdx;
return; // Found a normal regdef.
}