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

Duncan Sands baldrick at free.fr
Tue Feb 22 06:01:01 PST 2011


Hi Jin Gu Kang,

> replaceAllUsesWith() is an example. :)
>
> I don't know all of passes which use inforamtion of Use.
> so I would like to know whether this issue is trivial or not.
>
> I think view of you and other llvm-commiters are right.

there are usually many many more instructions than constants.  Thus an issue
like this that only concerns constants has almost certainly no compile time
impact whatsoever.

Ciao, Duncan.



More information about the llvm-commits mailing list