Accidentaly inverted the condition again. Sorry.
llvm-svn: 230973
This commit is contained in:
parent
f43de1879a
commit
0b6742aeb5
@ -5419,7 +5419,7 @@ UpdateNodeOperands(SDNode *N, ArrayRef<SDValue> Ops) {
|
||||
"Update with wrong number of operands");
|
||||
|
||||
// If no operands changed just return the input node.
|
||||
if (!Ops.empty() && std::equal(Ops.begin(), Ops.end(), N->op_begin()))
|
||||
if (Ops.empty() || std::equal(Ops.begin(), Ops.end(), N->op_begin()))
|
||||
return N;
|
||||
|
||||
// See if the modified node already exists.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user