
6 Dec
2008
6 Dec
'08
12:59 a.m.
Emil Dotchevski wrote:
I don't see how const-propagation is relevant here, but regardless -- const-propagation rarely (if ever) leads to optimization possibilities.
It is certainly one of the most (if not the most) important optimization in a compiler. http://en.wikipedia.org/wiki/Constant_folding sparse conditional constant propagation is probably quite necessary for good propagation across branches.