[PATCH] D115740: [clang][dataflow] Add simplistic constant-propagation analysis.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 15 06:33:38 PST 2021
ymandel created this revision.
Herald added a subscriber: mgorny.
ymandel updated this revision to Diff 394325.
ymandel added a comment.
ymandel updated this revision to Diff 394417.
ymandel updated this revision to Diff 394549.
ymandel edited the summary of this revision.
ymandel added reviewers: gribozavr2, sgatev, xazax.hun.
Herald added a subscriber: rnkovacs.
ymandel published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
fix potential null pointer deref.
ymandel added a comment.
Reworks analysis to use bottom, fixes two small bugs in testing framework.
ymandel added a comment.
revised bottom representation and updated tests
Adds a very simple constant-propagation analysis for demo and testing purposes.
Also, fixes two (small) bugs in the testing framework code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115740
Files:
clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
clang/unittests/Analysis/FlowSensitive/ConstantPropagation.cpp
clang/unittests/Analysis/FlowSensitive/ConstantPropagation.h
clang/unittests/Analysis/FlowSensitive/ConstantPropagationTest.cpp
clang/unittests/Analysis/FlowSensitive/TestingSupport.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115740.394549.patch
Type: text/x-patch
Size: 16163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211215/49b2c35e/attachment-0001.bin>
More information about the cfe-commits
mailing list