Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PhiValues] Use callback value handles to invalidate deleted values | John Brawn | 2018-08-24 | 1 | -0/+17 |
| | | | | | | | | | | | The way that PhiValues is integrated with BasicAA it is possible for a pass which uses BasicAA to pick up an instance of BasicAA that uses PhiValues without intending to, and then delete values from a function in a way that causes PhiValues to return dangling pointers to these deleted values. Fix this by having a set of callback value handles to invalidate values when they're deleted. llvm-svn: 340613 | ||||
* | Add a PhiValuesAnalysis pass to calculate the underlying values of phis | John Brawn | 2018-06-28 | 1 | -0/+196 |
This pass is being added in order to make the information available to BasicAA, which can't do caching of this information itself, but possibly this information may be useful for other passes. Incorporates code based on Daniel Berlin's implementation of Tarjan's algorithm. Differential Revision: https://reviews.llvm.org/D47893 llvm-svn: 335857 |