This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1e5715857abd: [clang][dataflow] Extend flow conditions from
block terminators (authored by sgatev).
Repository:
rG LLVM Github Monorepo
CHANGES S
sgatev added inline comments.
Comment at: clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp:90
+ void VisitBinaryOperator(const BinaryOperator *S) {
+auto *LHS = S->getLHS()->IgnoreParenImpCasts();
+assert(LHS != nullptr);
xazax.hun wrote:
sgatev updated this revision to Diff 413523.
sgatev marked an inline comment as done.
sgatev added a comment.
Address reviewers' comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120984/new/
https://reviews.llvm.org/D120984
Files:
clang/in
xazax.hun accepted this revision.
xazax.hun added a comment.
Thanks, with the new comments it is much clearer what is going on!
Comment at: clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp:90
+ void VisitBinaryOperator(const BinaryOperator *S) {
+auto *LHS =
sgatev added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h:99
+ const Environment &Env2, Value &MergedVal,
+ Environment &Env) {
return false;
xazax.hun wrote:
> `M
sgatev updated this revision to Diff 413426.
sgatev marked 5 inline comments as done.
sgatev added a comment.
Address reviewers' comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120984/new/
https://reviews.llvm.org/D120984
Files:
clang/in
ymandel accepted this revision.
ymandel added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:154
+
+ // `X v (X ^ Y ^ ...)` is logically equivalent to `X`. The common conditions
+ // have al
xazax.hun added inline comments.
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:123
+ if (Constraints1.empty() || Constraints2.empty()) {
+// Disjunction of empty set and non-empty set is represented as empty set.
+return JoinedConstraints;
xazax.hun added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h:99
+ const Environment &Env2, Value &MergedVal,
+ Environment &Env) {
return false;
`MergedEnv`? Also,
sgatev updated this revision to Diff 412969.
sgatev added a comment.
Minor tweaks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120984/new/
https://reviews.llvm.org/D120984
Files:
clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
sgatev created this revision.
sgatev added reviewers: ymandel, xazax.hun, gribozavr2.
Herald added subscribers: tschuett, steakhal, rnkovacs.
Herald added a project: All.
sgatev requested review of this revision.
Herald added a project: clang.
This is part of the implementation of the dataflow ana
11 matches
Mail list logo