sabre at nondot.org
Tue May 9 19:58:12 PDT 2006
On Tue, 9 May 2006, Nick Lewycky wrote:
> For an analysis pass, I'm interested in reading the lattice values
> calculated by SCCP. Should I split the current SCCP optimization into an
> analysis piece and the optimization that depends on it, so that I can
> use its analysis results?
SCCP is already split into an SCCPSolver class that is used by the SCCP
and IPSCCP classes. You should just be able to use SCCPSolver. Note that
it is not a pass, just a class you can use.
More information about the llvm-dev