summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit57b1694df10d30cef3248ba86e2e95ecdd2b8817 (patch)
tree097c6f6712cbcd81621c85d823117ec1b0addc5e /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
parent3708e548f825c1737f09d86697dfe9071d822fbf (diff)
downloadbcm5719-llvm-57b1694df10d30cef3248ba86e2e95ecdd2b8817.tar.gz
bcm5719-llvm-57b1694df10d30cef3248ba86e2e95ecdd2b8817.zip
Change TargetLowering::getRepRegClassFor to take an MVT, instead of
EVT. Accordingly, change RegDefIter to contain MVTs instead of EVTs. llvm-svn: 169838
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
index 057450de2b5..b22440daf16 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
+++ b/llvm/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.
}
OpenPOWER on IntegriCloud