Index: llvm/include/llvm/Support/GraphWriter.h =================================================================== --- llvm/include/llvm/Support/GraphWriter.h +++ llvm/include/llvm/Support/GraphWriter.h @@ -265,10 +265,9 @@ << DOT::EscapeString(DTraits.getEdgeDestLabel(Node, i)); } - if (RenderUsingHTML) - O << "... truncated"; - else if (i != e) - O << "|truncated...}"; + if (i != e) + O << "|truncated..."; + O << "}"; } if (RenderUsingHTML)