ymandel created this revision. ymandel added a reviewer: sgatev. Herald added a reviewer: NoQ. Herald added a project: All. ymandel requested review of this revision. Herald added a project: clang.
Commit 28bd7945eabdbde2b1fc071ab2f9b78e6e754a1a <https://reviews.llvm.org/rG28bd7945eabdbde2b1fc071ab2f9b78e6e754a1a> incidentally fixed the associated FIXME, but didn't delete it. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D133588 Files: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp Index: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp =================================================================== --- clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp +++ clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp @@ -81,9 +81,6 @@ Environment::ValueModel &Model) { // Join distinct boolean values preserving information about the constraints // in the respective path conditions. - // - // FIXME: Does not work for backedges, since the two (or more) paths will not - // have mutually exclusive conditions. if (auto *Expr1 = dyn_cast<BoolValue>(Val1)) { auto *Expr2 = cast<BoolValue>(Val2); auto &MergedVal = MergedEnv.makeAtomicBoolValue();
Index: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp =================================================================== --- clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp +++ clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp @@ -81,9 +81,6 @@ Environment::ValueModel &Model) { // Join distinct boolean values preserving information about the constraints // in the respective path conditions. - // - // FIXME: Does not work for backedges, since the two (or more) paths will not - // have mutually exclusive conditions. if (auto *Expr1 = dyn_cast<BoolValue>(Val1)) { auto *Expr2 = cast<BoolValue>(Val2); auto &MergedVal = MergedEnv.makeAtomicBoolValue();
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits