[PATCH] D128521: [clang][dataflow] Implement functionality to compare if two boolean values are equivalent.

weiyi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 24 05:51:25 PDT 2022


wyt created this revision.
Herald added subscribers: martong, tschuett, xazax.hun.
Herald added a project: All.
wyt requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

`equivBoolVals` compares equivalence between two booleans. The current implementation does not consider constraints imposed by flow conditions on the booleans and its subvalues.

Depends On D128520 <https://reviews.llvm.org/D128520>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128521

Files:
  clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
  clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
  clang/unittests/Analysis/FlowSensitive/DataflowAnalysisContextTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128521.439717.patch
Type: text/x-patch
Size: 5219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220624/90ecf55a/attachment.bin>


More information about the cfe-commits mailing list