diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -24238,6 +24238,7 @@ ++Depth; continue; } + // Everything else if (ImproveChain(Chain)) { // Updated Chain Found, Consider new chain if one exists.