[PATCH] D128825: [SCCP] Add API for updating the state of the Solver.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 03:55:16 PDT 2022


labrinea updated this revision to Diff 443592.
labrinea added a comment.

When invalidating remove the predicate info from additional users of all instructions, not only CmpInst (the sanitizer found a use after free for a PHINode).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128825

Files:
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/Utils/SCCPSolver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128825.443592.patch
Type: text/x-patch
Size: 4570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220711/63e08454/attachment.bin>


More information about the llvm-commits mailing list