summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-03 19:06:30 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-03 19:06:30 +0000
commitd7ff4874cbb99b5a8a92121af18792204b210dbb (patch)
treeca3ad47675764eaae944bee2a5c1c5695e1c4f86 /lib/CodeGen/CGExprAgg.cpp
parent73abd133aeda75971212176b1b4f7f251976d7cf (diff)
downloadclang-d7ff4874cbb99b5a8a92121af18792204b210dbb.tar.gz
clang-d7ff4874cbb99b5a8a92121af18792204b210dbb.tar.bz2
clang-d7ff4874cbb99b5a8a92121af18792204b210dbb.tar.xz
BasicConstraintManager:
- Fix nonsensical logic in AssumeSymGE. When comparing 'sym >= constant' and the constant is the maximum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymGT. When comparing 'sym > constant' and constant is the maximum integer value we know the path is infeasible. - Add test case for this enhancement to AssumeSymGT. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions