aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-12 23:41:59 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-12 23:41:59 +0000
commite413a76004f51a8d729a32e6d35f6f3a51e9fdac (patch)
treebafb878673a17d8f88199817a3b0e7293580f774 /llvm/lib/CodeGen/MachineFunction.cpp
parented6f5a8253bef4154fd387c5675ed8d4236f1a90 (diff)
downloadllvm-e413a76004f51a8d729a32e6d35f6f3a51e9fdac.zip
llvm-e413a76004f51a8d729a32e6d35f6f3a51e9fdac.tar.gz
llvm-e413a76004f51a8d729a32e6d35f6f3a51e9fdac.tar.bz2
Use the correct data structures!
ExplodedGraph::TrimGraph: - Just do a DFS both ways instead of BFS-DFS. We're just determining what subset of the nodes are reachable from the root and reverse-reachable from the bug nodes. DFS is more efficient for this task. BugReporter: - MakeReportGraph: Do a reverse-BFS instead of a reverse-DFS to determine the approximate shortest path through the simulation graph. We were seeing some weird cases where too many loops were being reported for simple bugs. Possibly we will need to replace this with actually computing the shortest path in terms of line numbers. llvm-svn: 66842
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions