[LLVMdev] ConstantExpr refactoring

Renato Golin rengolin at systemcall.org
Sun Jul 1 11:30:08 PDT 2012


On 30 June 2012 16:01, Hal Finkel <hfinkel at anl.gov> wrote:
> I think this depends on when you want this pass to execute.

I'd like to mimic the current behaviour using the pass, for now.
Later, slowly turning off the features, one by one, and letting the
pass deal with folding (during codegen).


> So the general idea here is to rely on SCEV to allow passes to evaluate
> constant values but otherwise leave them uncollapsed?

Yes.

--renato



More information about the llvm-dev mailing list