diff options
| author | Ted Kremenek <kremenek@apple.com> | 2013-05-31 16:56:54 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2013-05-31 16:56:54 +0000 |
| commit | f94cb007d03031bcf3d1b02f6a683a189e934953 (patch) | |
| tree | ae8f0cc77ea04495f65b0eb6d038837ead8b0a03 /lib/CodeGen/CGExpr.cpp | |
| parent | c89f02afb018316a0c36bf62b2cb75d420f2fff3 (diff) | |
| download | clang-f94cb007d03031bcf3d1b02f6a683a189e934953.tar.gz clang-f94cb007d03031bcf3d1b02f6a683a189e934953.tar.bz2 clang-f94cb007d03031bcf3d1b02f6a683a189e934953.tar.xz | |
[analyzer; new edges] add simplifySimpleBranches() to reduce edges for branches.
In many cases, the edge from the "if" to the condition, followed by an edge from the branch condition to the target code, is uninteresting.
In such cases, we should fold the two edges into one from the "if" to the target.
This also applies to loops.
Implements <rdar://problem/14034763>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
