summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit05394352c019da94e9ece722492ced494b2bedb1 (patch)
treec32582dba9d931262aca4148bd835ace0226cb1c /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
parent2806a549b4f065e6ca1a11fa60c486c60933611d (diff)
downloadbcm5719-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.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