projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c99cfe
)
The scheduler needs to be aware on the existence of untyped nodes when it performs...
author
Owen Anderson
<resistor@mac.com>
Fri, 24 Jun 2011 23:02:22 +0000
(23:02 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 24 Jun 2011 23:02:22 +0000
(23:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133838
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
index dbc623b01ea8b1957690e7c8a82359dd18acfc1d..f03bf10a48faed511780331d75c43c4e77cf3213 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
@@
-521,7
+521,8
@@
void ScheduleDAGSDNodes::RegDefIter::Advance() {
if (!Node->hasAnyUseOfValue(DefIdx))
continue;
if (Node->isMachineOpcode() &&
- Node->getMachineOpcode() == TargetOpcode::EXTRACT_SUBREG) {
+ Node->getMachineOpcode() == TargetOpcode::EXTRACT_SUBREG &&
+ Node->getOperand(0).getValueType() != MVT::untyped) {
// Propagate the incoming (full-register) type. I doubt it's needed.
ValueType = Node->getOperand(0).getValueType();
}