[PATCH] D109221: [LowerConstantIntrinsics] Fix heap-use-after-free bug in worklist
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 9 06:54:46 PDT 2021
lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.
LGTM
While you could use `CallbackVH` with a lambda that would erase from the set, the set contains instructions, not VH's, so this seems like the smallest fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109221/new/
https://reviews.llvm.org/D109221
More information about the llvm-commits
mailing list