[llvm-commits] Fold() function on TargetFolder class - removal of redundant constantexpr

Duncan Sands baldrick at free.fr
Tue Feb 22 04:22:17 PST 2011


Hi Jin Gu Kang,

> I thought useless ConstantExpr makes useless Use information for its constant operands and
> they causes inefficient behavior when we use functions like replaceAllUsesWith()
> because of wrong Use inforamtion.

I doubt there is any measurable compile time impact due to this effect.
Did you see one?

Ciao, Duncan.



More information about the llvm-commits mailing list