forked from OSchip/llvm-project
parent
d7d31f3b06
commit
debd6e95ab
|
@ -636,15 +636,14 @@ void DAGISelEmitter::ParseAndResolveInstructions() {
|
||||||
// Inline pattern fragments into it.
|
// Inline pattern fragments into it.
|
||||||
I->InlinePatternFragments();
|
I->InlinePatternFragments();
|
||||||
|
|
||||||
// Infer as many types as possible. Don't worry about it if we don't infer
|
// Infer as many types as possible. If we cannot infer all of them, we can
|
||||||
// all of them, some may depend on the inputs of the pattern.
|
// never do anything with this instruction pattern: report it to the user.
|
||||||
if (!I->InferAllTypes()) {
|
if (!I->InferAllTypes()) {
|
||||||
I->dump();
|
I->dump();
|
||||||
I->error("Could not infer all types in pattern!");
|
I->error("Could not infer all types in pattern!");
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG(I->dump());
|
DEBUG(I->dump());
|
||||||
|
|
||||||
Instructions.push_back(I);
|
Instructions.push_back(I);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue