[PATCH] D157267: [NewGVN] Fix an use after free when updating use count

Vladimir Radosavljevic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 02:13:14 PDT 2023


vladimirradosavljevic updated this revision to Diff 551049.
vladimirradosavljevic added a comment.

Managed to create a test case that reproduces this issue using the llvm-reduce tool. Please take a look.


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

https://reviews.llvm.org/D157267

Files:
  llvm/lib/Transforms/Scalar/NewGVN.cpp
  llvm/test/Transforms/NewGVN/crash-usecounts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157267.551049.patch
Type: text/x-patch
Size: 7198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230817/d42d2edc/attachment.bin>


More information about the llvm-commits mailing list