[llvm-dev] LazyValueInfo vs ScalarEvolution

John Regehr via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 24 14:29:02 PDT 2017


On 7/24/17 3:16 PM, Hongbin Zheng via llvm-dev wrote:
> Thanks, maybe we could use ScalarEvolution in LazyValueInfo if it is
> available?

This should be fairly easy to try, if you want to propose a patch and 
run some experiments. The question is whether the benefit in terms of 
improved optimization power is worth the compile-time cost. Also, the 
last time I looked, there seemed to be a fair amount of room for 
improvement in LVI and ConstantRange.

John



More information about the llvm-dev mailing list