diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-02 16:45:08 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-02 16:45:08 +0000 |
commit | 0b6742aeb51340f07e8d58efaa9840cd00a229d1 (patch) | |
tree | c799ef465b1d8d8350a266965f57090c90399951 | |
parent | f43de1879a5cba695470de29af4202c71c962c6a (diff) | |
download | bcm5719-llvm-0b6742aeb51340f07e8d58efaa9840cd00a229d1.tar.gz bcm5719-llvm-0b6742aeb51340f07e8d58efaa9840cd00a229d1.zip |
Accidentaly inverted the condition again. Sorry.
llvm-svn: 230973
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 00dc717e1e4..232c592af24 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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. |