We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57e34b2 commit 99adfecCopy full SHA for 99adfec
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
@@ -521,7 +521,8 @@ void ScheduleDAGSDNodes::RegDefIter::Advance() {
521
if (!Node->hasAnyUseOfValue(DefIdx))
522
continue;
523
if (Node->isMachineOpcode() &&
524
- Node->getMachineOpcode() == TargetOpcode::EXTRACT_SUBREG) {
+ Node->getMachineOpcode() == TargetOpcode::EXTRACT_SUBREG &&
525
+ Node->getOperand(0).getValueType() != MVT::untyped) {
526
// Propagate the incoming (full-register) type. I doubt it's needed.
527
ValueType = Node->getOperand(0).getValueType();
528
}
0 commit comments