[PATCH] D130522: [clang][dataflow] Fix SAT solver crashes on `X ^ X` and `X v X`

Stanislav Gatev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 23:29:41 PDT 2022


sgatev accepted this revision.
sgatev added inline comments.


================
Comment at: clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp:273
+
+        // Visit a sub-value of `Val` (pick any, they are identical).
+      } else {
----------------
Let's visit `C->getLeftSubValue()` here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130522/new/

https://reviews.llvm.org/D130522



More information about the cfe-commits mailing list