- Notify users when replacing a value.
- Invalidate a deleted instruction.
Discussion: https://discourse.llvm.org/t/rfc-should-we-enable-function-specialization/61518
Paths
| Differential D128825
[SCCP] Add API for updating the state of the Solver. AbandonedPublic Authored by labrinea on Jun 29 2022, 7:35 AM.
Details
Summary
Discussion: https://discourse.llvm.org/t/rfc-should-we-enable-function-specialization/61518
Diff Detail
Unit TestsFailed Event Timelinelabrinea added a parent revision: D128824: [SCCP] Add API for AdditionalUsers to the Instruction Visitor..Jun 29 2022, 7:36 AM labrinea added a child revision: D126456: [SCCP] Notify the Solver when an instruction is removed..Jun 29 2022, 7:40 AM Comment Actions 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). Comment Actions Changes from last revision:
Revision Contents
Diff 441006 llvm/include/llvm/Transforms/Utils/SCCPSolver.h
llvm/lib/Transforms/Utils/SCCPSolver.cpp
|