mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
034843ac8b
commit
65f35d5703
@ -1134,8 +1134,7 @@ bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) {
|
||||
|
||||
if (getOperator()->isSubClassOf("Instruction")) {
|
||||
const DAGInstruction &Inst = CDP.getInstruction(getOperator());
|
||||
unsigned NumResults = Inst.getNumResults();
|
||||
assert(NumResults <= 1 &&
|
||||
assert(Inst.getNumResults() <= 1 &&
|
||||
"Only supports zero or one result instrs!");
|
||||
|
||||
CodeGenInstruction &InstInfo =
|
||||
|
Loading…
Reference in New Issue
Block a user