[all-commits] [llvm/llvm-project] b5e3da: [clang][dataflow] Add explicit "AST" nodes for imp...
Dmitri Gribenko via All-commits
all-commits at lists.llvm.org
Tue Jul 26 05:19:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b5e3dac33d42cdf8a3b19b1f64b726e700363ded
https://github.com/llvm/llvm-project/commit/b5e3dac33d42cdf8a3b19b1f64b726e700363ded
Author: Dmitri Gribenko <gribozavr at gmail.com>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/Value.h
M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
M clang/lib/Analysis/FlowSensitive/DebugSupport.cpp
M clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
M clang/unittests/Analysis/FlowSensitive/DataflowAnalysisContextTest.cpp
M clang/unittests/Analysis/FlowSensitive/DebugSupportTest.cpp
M clang/unittests/Analysis/FlowSensitive/SolverTest.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
Log Message:
-----------
[clang][dataflow] Add explicit "AST" nodes for implications and iff
Previously we used to desugar implications and biconditionals into
equivalent CNF/DNF as soon as possible. However, this desugaring makes
debug output (Environment::dump()) less readable than it could be.
Therefore, it makes sense to keep the sugared representation of a
boolean formula, and desugar it in the solver.
Reviewed By: sgatev, xazax.hun, wyt
Differential Revision: https://reviews.llvm.org/D130519
More information about the All-commits
mailing list