[PATCH] D138909: FuncSpec] Invalidate analyses when deleting a fully specialised function
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 29 04:16:53 PST 2022
chill created this revision.
Herald added subscribers: snehasish, ormris, hiraditya.
Herald added a project: All.
chill requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Deleting a fully specialised function left dangling pointers in
`FunctionAnalysisManager`, which causes an internal compiler error
when the function's storage was reused.
Fixes bug ##58759.
https://reviews.llvm.org/D138909
Files:
llvm/include/llvm/Transforms/Scalar/SCCP.h
llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
llvm/lib/Transforms/IPO/SCCP.cpp
llvm/test/Transforms/FunctionSpecialization/compiler-crash-58759.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138909.478517.patch
Type: text/x-patch
Size: 4707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221129/9dd96834/attachment.bin>
More information about the llvm-commits
mailing list