summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 09:31:43 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 09:31:43 +0000
commitaa7744d75fc1769ccc12c65c07bb5b82afa58330 (patch)
treec02e36f59b9e6e8c690bd85cbaf26e5b50bb04c8 /lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
parent8163ca76f0b0d336c5436364ffb3b85be1162e7a (diff)
downloadllvm-aa7744d75fc1769ccc12c65c07bb5b82afa58330.tar.gz
llvm-aa7744d75fc1769ccc12c65c07bb5b82afa58330.tar.bz2
llvm-aa7744d75fc1769ccc12c65c07bb5b82afa58330.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@169838 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.
}