mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix suggested parentheses warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32989deb96
commit
32f6a8b8bb
@ -1653,7 +1653,7 @@ InferAllTypes(const StringMap<SmallVector<TreePatternNode*,1> > *InNamedTypes) {
|
||||
continue;
|
||||
}
|
||||
|
||||
assert(Nodes[i]->getNumTypes() == 1 &
|
||||
assert(Nodes[i]->getNumTypes() == 1 &&
|
||||
InNodes[0]->getNumTypes() == 1 &&
|
||||
"FIXME: cannot name multiple result nodes yet");
|
||||
MadeChange |= Nodes[i]->UpdateNodeType(0, InNodes[0]->getExtType(0),
|
||||
@ -1666,7 +1666,7 @@ InferAllTypes(const StringMap<SmallVector<TreePatternNode*,1> > *InNamedTypes) {
|
||||
if (I->second.size() > 1) {
|
||||
for (unsigned i = 0, e = Nodes.size()-1; i != e; ++i) {
|
||||
TreePatternNode *N1 = Nodes[i], *N2 = Nodes[i+1];
|
||||
assert(N1->getNumTypes() == 1 & N2->getNumTypes() == 1 &&
|
||||
assert(N1->getNumTypes() == 1 && N2->getNumTypes() == 1 &&
|
||||
"FIXME: cannot name multiple result nodes yet");
|
||||
|
||||
MadeChange |= N1->UpdateNodeType(0, N2->getExtType(0), *this);
|
||||
|
Loading…
Reference in New Issue
Block a user